changed prefix of crl_reason_t values from CRL_ to CRL_REASON_
[strongswan.git] / src / libstrongswan / credentials / certificates / crl.h
index 3fef0d7..3d47961 100644 (file)
@@ -32,14 +32,14 @@ typedef enum crl_reason_t crl_reason_t;
  * RFC 2459 CRL reason codes
  */
 enum crl_reason_t {
-    CRL_UNSPECIFIED                    = 0,
-    CRL_KEY_COMPROMISE                 = 1,
-    CRL_CA_COMPROMISE                  = 2,
-    CRL_AFFILIATION_CHANGED            = 3,
-    CRL_SUPERSEDED                             = 4,
-    CRL_CESSATION_OF_OPERATON  = 5,
-    CRL_CERTIFICATE_HOLD               = 6,
-    CRL_REMOVE_FROM_CRL                        = 8,
+    CRL_REASON_UNSPECIFIED            = 0,
+    CRL_REASON_KEY_COMPROMISE         = 1,
+    CRL_REASON_CA_COMPROMISE          = 2,
+    CRL_REASON_AFFILIATION_CHANGED    = 3,
+    CRL_REASON_SUPERSEDED             = 4,
+    CRL_REASON_CESSATION_OF_OPERATON  = 5,
+    CRL_REASON_CERTIFICATE_HOLD       = 6,
+    CRL_REASON_REMOVE_FROM_CRL        = 8,
 };
 
 /**
@@ -67,9 +67,9 @@ struct crl_t {
        /**
         * Get the the authorityKeyIdentifier.
         *
-        * @return                      authKeyIdentifier as identification_t*
+        * @return                      authKeyIdentifier chunk, point to internal data
         */
-       identification_t* (*get_authKeyIdentifier)(crl_t *this);
+       chunk_t (*get_authKeyIdentifier)(crl_t *this);
        
        /**
         * Create an enumerator over all revoked certificates.