Fix order of PURGE_* flags to be compatible with STROKE_PURGE_* keywords
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user