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:
b3c6a33
)
There is should be no need to rewind the input stream any more.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 13 Jul 2006 20:29:55 +0000
(20:29 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 13 Jul 2006 20:29:55 +0000
(20:29 +0000)
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.
apps/smime.c
patch
|
blob
|
history
diff --git
a/apps/smime.c
b/apps/smime.c
index 69ce28039a7be863d29661e4ef171e6f1a02ab84..8c010b3e4717b2dc603424fda2d0ebb4bc4a8f9e 100644
(file)
--- 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;
- }
}
}