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 2cdc5c3cf9
commit 3a96828ead

View File

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