Renamed purgex509/crl to purgecerts/crls to be consistent with list commands
This commit is contained in:
+6
-6
@@ -286,8 +286,8 @@ static int reread(stroke_keyword_t kw)
|
||||
static int purge_flags[] = {
|
||||
PURGE_OCSP,
|
||||
PURGE_IKE,
|
||||
PURGE_CRL,
|
||||
PURGE_X509,
|
||||
PURGE_CRLS,
|
||||
PURGE_CERTS,
|
||||
};
|
||||
|
||||
static int purge(stroke_keyword_t kw)
|
||||
@@ -386,9 +386,9 @@ static void exit_usage(char *error)
|
||||
printf(" Purge ocsp cache entries:\n");
|
||||
printf(" stroke purgeocsp\n");
|
||||
printf(" Purge CRL cache entries:\n");
|
||||
printf(" stroke purgecrl\n");
|
||||
printf(" stroke purgecrls\n");
|
||||
printf(" Purge X509 cache entries:\n");
|
||||
printf(" stroke purgex509\n");
|
||||
printf(" stroke purgecerts\n");
|
||||
printf(" Purge IKE_SAs without a CHILD_SA:\n");
|
||||
printf(" stroke purgeike\n");
|
||||
printf(" Export credentials to the console:\n");
|
||||
@@ -514,8 +514,8 @@ int main(int argc, char *argv[])
|
||||
res = reread(token->kw);
|
||||
break;
|
||||
case STROKE_PURGE_OCSP:
|
||||
case STROKE_PURGE_CRL:
|
||||
case STROKE_PURGE_X509:
|
||||
case STROKE_PURGE_CRLS:
|
||||
case STROKE_PURGE_CERTS:
|
||||
case STROKE_PURGE_IKE:
|
||||
res = purge(token->kw);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user