Add missing compile-time guard around CID API in ssl_server2

This commit is contained in:
Hanno Becker 2019-05-09 15:56:01 +01:00
parent 7ba3568318
commit d23605d056

View File

@ -3185,9 +3185,11 @@ data_exchange:
}
#endif /* MBEDTLS_SSL_RENEGOTIATION */
#if defined(MBEDTLS_SSL_CID)
ret = report_cid_usage( &ssl, "after renegotiation" );
if( ret != 0 )
goto exit;
#endif /* MBEDTLS_SSL_CID */
/*
* 7. Write the 200 Response