Fix order of PURGE_* flags to be compatible with STROKE_PURGE_* keywords

This commit is contained in:
Martin Willi
2011-03-23 09:28:40 +01:00
parent a6390879d5
commit fc2e43eb27
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -285,9 +285,9 @@ static int reread(stroke_keyword_t kw)
static int purge_flags[] = {
PURGE_OCSP,
PURGE_IKE,
PURGE_CRLS,
PURGE_CERTS,
PURGE_IKE,
};
static int purge(stroke_keyword_t kw)
+4 -4
View File
@@ -105,12 +105,12 @@ enum purge_flag_t {
PURGE_NONE = 0x0000,
/** purge ocsp cache entries */
PURGE_OCSP = 0x0001,
/** purge IKE_SAs without a CHILD_SA */
PURGE_IKE = 0x0002,
/** purge CRL cache entries */
PURGE_CRLS = 0x0004,
PURGE_CRLS = 0x0002,
/** purge X509 cache entries */
PURGE_CERTS = 0x0008,
PURGE_CERTS = 0x0004,
/** purge IKE_SAs without a CHILD_SA */
PURGE_IKE = 0x0008,
};
typedef enum export_flag_t export_flag_t;