summaryrefslogtreecommitdiffstats
path: root/apps/cms.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-04-10 11:22:14 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-04-10 11:22:14 +0000
commite0fbd0730995c8594ddf7408695f3a77263b64cd (patch)
treeab005905f1b582b416963c3b5ffeb8cf3f1ff590 /apps/cms.c
parenteaee098e1f3204cdb9f44eee6c0a0f898f26049e (diff)
Add additional parameter to CMS_final() to handle detached content.
Diffstat (limited to 'apps/cms.c')
-rw-r--r--apps/cms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/cms.c b/apps/cms.c
index 620fe67075..b1ffb382ad 100644
--- a/apps/cms.c
+++ b/apps/cms.c
@@ -891,7 +891,7 @@ int MAIN(int argc, char **argv)
}
if (!(flags & CMS_STREAM))
{
- if (!CMS_final(cms, in, flags))
+ if (!CMS_final(cms, in, NULL, flags))
goto end;
}
}
@@ -978,7 +978,7 @@ int MAIN(int argc, char **argv)
/* If not streaming or resigning finalize structure */
if ((operation == SMIME_SIGN) && !(flags & CMS_STREAM))
{
- if (!CMS_final(cms, in, flags))
+ if (!CMS_final(cms, in, NULL, flags))
goto end;
}
}