aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/pk7_mime.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2003-02-25 19:03:31 +0000
committerDr. Stephen Henson <steve@openssl.org>2003-02-25 19:03:31 +0000
commite9ec63961be610bbd386f482335772bc23dc095e (patch)
tree4c315799588e5d459fc804c47d74f56c6fc702af /crypto/pkcs7/pk7_mime.c
parent0185803cc224c8d88ca39ae07c296a4f1854e478 (diff)
downloadopenssl-e9ec63961be610bbd386f482335772bc23dc095e.tar.gz
Fix indefinite length encoding so EOC correctly updates
the buffer pointer. Rename PKCS7_PARTSIGN to PKCS7_STREAM. Guess what that's for :-)
Diffstat (limited to 'crypto/pkcs7/pk7_mime.c')
-rw-r--r--crypto/pkcs7/pk7_mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c
index 51be777687..431aff94f0 100644
--- a/crypto/pkcs7/pk7_mime.c
+++ b/crypto/pkcs7/pk7_mime.c
@@ -202,7 +202,7 @@ static int pkcs7_output_data(BIO *out, BIO *data, PKCS7 *p7, int flags)
{
BIO *tmpbio, *p7bio;
- if (!(flags & PKCS7_PARTSIGN))
+ if (!(flags & PKCS7_STREAM))
{
SMIME_crlf_copy(data, out, flags);
return 1;