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 488c8dee47
commit fd5dc8ae07

View File

@ -6434,6 +6434,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 );