Index: openssl/crypto/x509v3/v3_enum.c |
=================================================================== |
--- openssl/crypto/x509v3/v3_enum.c (revision 105093) |
+++ openssl/crypto/x509v3/v3_enum.c (working copy) |
@@ -61,14 +61,17 @@ |
#include <openssl/x509v3.h> |
static ENUMERATED_NAMES crl_reasons[] = { |
-{0, "Unspecified", "unspecified"}, |
-{1, "Key Compromise", "keyCompromise"}, |
-{2, "CA Compromise", "CACompromise"}, |
-{3, "Affiliation Changed", "affiliationChanged"}, |
-{4, "Superseded", "superseded"}, |
-{5, "Cessation Of Operation", "cessationOfOperation"}, |
-{6, "Certificate Hold", "certificateHold"}, |
-{8, "Remove From CRL", "removeFromCRL"}, |
+{CRL_REASON_UNSPECIFIED, "Unspecified", "unspecified"}, |
+{CRL_REASON_KEY_COMPROMISE, "Key Compromise", "keyCompromise"}, |
+{CRL_REASON_CA_COMPROMISE, "CA Compromise", "CACompromise"}, |
+{CRL_REASON_AFFILIATION_CHANGED, "Affiliation Changed", "affiliationChanged"}, |
+{CRL_REASON_SUPERSEDED, "Superseded", "superseded"}, |
+{CRL_REASON_CESSATION_OF_OPERATION, |
+ "Cessation Of Operation", "cessationOfOperation"}, |
+{CRL_REASON_CERTIFICATE_HOLD, "Certificate Hold", "certificateHold"}, |
+{CRL_REASON_REMOVE_FROM_CRL, "Remove From CRL", "removeFromCRL"}, |
+{CRL_REASON_PRIVILEGE_WITHDRAWN, "Privilege Withdrawn", "privilegeWithdrawn"}, |
+{CRL_REASON_AA_COMPROMISE, "AA Compromise", "AACompromise"}, |
{-1, NULL, NULL} |
}; |