From fde8dc179897817e918cb99cef9e511ab6094caa Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 26 Dec 2012 16:57:39 +0000 Subject: [PATCH] add Suite B verification flags --- apps/apps.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/apps.c b/apps/apps.c index 24a493e0eb..761a8c7f27 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2386,6 +2386,12 @@ int args_verify(char ***pargs, int *pargc, flags |= X509_V_FLAG_CHECK_SS_SIGNATURE; else if (!strcmp(arg, "-trusted_first")) flags |= X509_V_FLAG_TRUSTED_FIRST; + else if (!strcmp(arg, "-suiteB_128_only")) + flags |= X509_V_FLAG_SUITEB_128_LOS_ONLY; + else if (!strcmp(arg, "-suiteB_128")) + flags |= X509_V_FLAG_SUITEB_128_LOS; + else if (!strcmp(arg, "-suiteB_192")) + flags |= X509_V_FLAG_SUITEB_192_LOS; else if (!strcmp(arg, "-partial_chain")) flags |= X509_V_FLAG_PARTIAL_CHAIN; else -- 2.40.0