Fix unused variable warning in ssl_parse_certificate_coordinate()

This was triggered in client-only builds.
This commit is contained in:
Hanno Becker 2019-03-01 08:10:46 +00:00
parent bdf75eb243
commit 84d9d2734f

View File

@ -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 );