From 652ac3e93a8006016ea67af626abfc0f32e5a44b Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 19 Jun 2012 13:38:47 +0000 Subject: [PATCH] oops, add -debug_decrypt option which was accidenatally left out --- apps/cms.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/cms.c b/apps/cms.c index d15925a59f..916fee475a 100644 --- a/apps/cms.c +++ b/apps/cms.c @@ -232,6 +232,8 @@ int MAIN(int argc, char **argv) else if (!strcmp(*args,"-camellia256")) cipher = EVP_camellia_256_cbc(); #endif + else if (!strcmp (*args, "-debug_decrypt")) + flags |= CMS_DEBUG_DECRYPT; else if (!strcmp (*args, "-text")) flags |= CMS_TEXT; else if (!strcmp (*args, "-nointern")) @@ -1020,6 +1022,8 @@ int MAIN(int argc, char **argv) ret = 4; if (operation == SMIME_DECRYPT) { + if (flags & CMS_DEBUG_DECRYPT) + CMS_decrypt(cms, NULL, NULL, NULL, NULL, flags); if (secret_key) { -- 2.25.1