Commit d6ad8e94 authored by Paul Bakker's avatar Paul Bakker
Browse files

Make ssl_check_cert_usage() dependent on POLARSSL_X509_CRT_PARSE_C

parent 5c986f52
......@@ -4765,6 +4765,7 @@ int ssl_curve_is_acceptable( const ssl_context *ssl, ecp_group_id grp_id )
}
#endif
#if defined(POLARSSL_X509_CRT_PARSE_C)
int ssl_check_cert_usage( const x509_crt *cert,
const ssl_ciphersuite_t *ciphersuite,
int cert_endpoint )
......@@ -4821,3 +4822,4 @@ int ssl_check_cert_usage( const x509_crt *cert,
return( 0 );
}
#endif /* POLARSSL_X509_CRT_PARSE_C */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment