Document that x509_ocsp_get_crl_reason() belongs in x509_crl

This commit is contained in:
Andres Amaya Garcia
2017-08-25 15:28:31 +01:00
committed by Andres Amaya Garcia
parent 544e072cdb
commit aa8336eb9f

View File

@@ -354,6 +354,10 @@ static int x509_ocsp_get_cert_id( unsigned char **p,
return( 0 );
}
/*
* This code is essentially parsing a CRLReason which is a CRL extension. We
* should consider moving it to x509_crl
*/
static int x509_ocsp_get_crl_reason( unsigned char **p,
const unsigned char *end,
uint8_t *reason )