From: Dr. Stephen Henson Date: Tue, 19 Jun 2012 13:39:17 +0000 (+0000) Subject: oops, add -debug_decrypt option which was accidenatally left out X-Git-Tag: OpenSSL_1_0_2-beta1~609 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93cf058334bfa4b7d9da90e2a223ffccb1c0d28a;p=openssl oops, add -debug_decrypt option which was accidenatally left out --- diff --git a/apps/cms.c b/apps/cms.c index d754140987..5f77f8fbb0 100644 --- a/apps/cms.c +++ b/apps/cms.c @@ -233,6 +233,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")) @@ -1039,6 +1041,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) {