Add two missing entries to the OCSP CRLReason table
authorRob Stradling <rob@sectigo.com>
Tue, 15 Aug 2023 20:07:25 +0000 (21:07 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 18 Aug 2023 08:05:39 +0000 (10:05 +0200)
CLA: trivial

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21743)

crypto/ocsp/ocsp_prn.c

index 654ddbc7fff3d9e4fba25bb863bf6cf8d55fb0ce..f79aca5bdad0ad3fbf3ef41ae10172da1918b3a9 100644 (file)
@@ -79,7 +79,9 @@ const char *OCSP_crl_reason_str(long s)
         {OCSP_REVOKED_STATUS_SUPERSEDED, "superseded"},
         {OCSP_REVOKED_STATUS_CESSATIONOFOPERATION, "cessationOfOperation"},
         {OCSP_REVOKED_STATUS_CERTIFICATEHOLD, "certificateHold"},
-        {OCSP_REVOKED_STATUS_REMOVEFROMCRL, "removeFromCRL"}
+        {OCSP_REVOKED_STATUS_REMOVEFROMCRL, "removeFromCRL"},
+        {OCSP_REVOKED_STATUS_PRIVILEGEWITHDRAWN, "privilegeWithdrawn"},
+        {OCSP_REVOKED_STATUS_AACOMPROMISE, "aACompromise"}
     };
     return table2string(s, reason_tbl);
 }