Make results of (ext)KeyUsage accessible

This commit is contained in:
Manuel Pégourié-Gonnard 2015-04-17 16:55:53 +02:00
parent 770b5e1e9e
commit e16b62c3a9
5 changed files with 44 additions and 7 deletions

View file

@ -1980,7 +1980,8 @@ static inline x509_crt *ssl_own_cert( ssl_context *ssl )
*/
int ssl_check_cert_usage( const x509_crt *cert,
const ssl_ciphersuite_t *ciphersuite,
int cert_endpoint );
int cert_endpoint,
int *flags );
#endif /* POLARSSL_X509_CRT_PARSE_C */
/* constant-time buffer comparison */