projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e8b4b5
)
oops, add -debug_decrypt option which was accidenatally left out
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 19 Jun 2012 13:39:17 +0000
(13:39 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 19 Jun 2012 13:39:17 +0000
(13:39 +0000)
apps/cms.c
patch
|
blob
|
history
diff --git
a/apps/cms.c
b/apps/cms.c
index d754140987330dd21e8f4665a8057f4702ddd959..5f77f8fbb03f14066cae8cd819b67dba51a2fc0f 100644
(file)
--- 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)
{