From 84d9d2734f2e40205943e21b44e3b20023ccebeb Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Fri, 1 Mar 2019 08:10:46 +0000 Subject: [PATCH] Fix unused variable warning in ssl_parse_certificate_coordinate() This was triggered in client-only builds. --- library/ssl_tls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index a956bab8f..660d548e4 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -6020,6 +6020,8 @@ static int ssl_parse_certificate_coordinate( mbedtls_ssl_context *ssl, return( SSL_CERTIFICATE_SKIP ); } } +#else + ((void) authmode); #endif /* MBEDTLS_SSL_SRV_C */ return( SSL_CERTIFICATE_EXPECTED );