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:
6657b9c
)
Flush p7bio when all data has been copied.
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 26 May 2006 17:14:23 +0000
(17:14 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 26 May 2006 17:14:23 +0000
(17:14 +0000)
crypto/pkcs7/pk7_smime.c
patch
|
blob
|
history
diff --git
a/crypto/pkcs7/pk7_smime.c
b/crypto/pkcs7/pk7_smime.c
index d3b55e427387ffacc022ad4dbe5ef1e999567353..4312d8d4bf73fd0bae797f32c1a836946c934bf4 100644
(file)
--- a/
crypto/pkcs7/pk7_smime.c
+++ b/
crypto/pkcs7/pk7_smime.c
@@
-121,6
+121,8
@@
int PKCS7_final(PKCS7 *p7, BIO *data, int flags)
SMIME_crlf_copy(data, p7bio, flags);
+ BIO_flush(p7bio);
+
if(PKCS7_type_is_signed(p7) && (flags & PKCS7_DETACHED))
PKCS7_set_detached(p7, 1);