From 3a96828eadf2c83e423fd6ac23ace194083f217d Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Thu, 9 May 2019 15:56:01 +0100 Subject: [PATCH] Add missing compile-time guard around CID API in ssl_server2 --- programs/ssl/ssl_server2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index 118383c62..cc74c83b7 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -3633,9 +3633,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