trust: use proper CRL id-ce-cRLReasons extension keyword 'unspecified'

This commit is contained in:
Stephan 2022-08-02 08:39:55 +02:00
parent 7aaa6a263b
commit 2918f0e24e

View File

@ -47,8 +47,8 @@ function crl_status_code()
{
/* Array index 0 is a description, index 1 is the key used by phpseclib */
return array(
CERT_CRL_STATUS_NOSTATUS => ["No Status (default)", "unused"],
CERT_CRL_STATUS_UNSPECIFIED => ["Unspecified", "unused"],
CERT_CRL_STATUS_NOSTATUS => ["No Status (default)", "unspecified"],
CERT_CRL_STATUS_UNSPECIFIED => ["Unspecified", "unspecified"],
CERT_CRL_STATUS_KEYCOMPROMISE => ["Key Compromise", "keyCompromise"],
CERT_CRL_STATUS_CACOMPROMISE => ["CA Compromise", "cACompromise"],
CERT_CRL_STATUS_AFFILIATIONCHANGED => ["Affiliation Changed", "affiliationChanged"],