summaryrefslogtreecommitdiffstats
path: root/apps/smime.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-07-13 20:29:55 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-07-13 20:29:55 +0000
commitf253a058d3519cdfa7d1859e0e83ef7781e4fffb (patch)
tree2b3b7d26654c115d5bd97119537e8c89e5e3a53d /apps/smime.c
parentb3c6a331853c125985cdf0d3ae60e1894974c3eb (diff)
There is should be no need to rewind the input stream any more.
For S/MIME multipart/signed type the signature is calculated on the fly. For other detached data forms the stream isn't used after the single pass to calculate signatures. For non-detached the data is stored in a memory BIO.
Diffstat (limited to 'apps/smime.c')
-rw-r--r--apps/smime.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/smime.c b/apps/smime.c
index 69ce28039a..8c010b3e47 100644
--- a/apps/smime.c
+++ b/apps/smime.c
@@ -708,11 +708,6 @@ int MAIN(int argc, char **argv)
{
if (!PKCS7_final(p7, in, flags))
goto end;
- if (BIO_reset(in) != 0)
- {
- BIO_puts(bio_err, "Can't rewind input file\n");
- goto end;
- }
}
}