diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2003-02-25 19:03:31 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2003-02-25 19:03:31 +0000 |
commit | e9ec63961be610bbd386f482335772bc23dc095e (patch) | |
tree | 4c315799588e5d459fc804c47d74f56c6fc702af /crypto/pkcs7/pk7_smime.c | |
parent | 0185803cc224c8d88ca39ae07c296a4f1854e478 (diff) |
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_smime.c')
-rw-r--r-- | crypto/pkcs7/pk7_smime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs7/pk7_smime.c b/crypto/pkcs7/pk7_smime.c index b170fe285d..333a8aa38d 100644 --- a/crypto/pkcs7/pk7_smime.c +++ b/crypto/pkcs7/pk7_smime.c @@ -125,7 +125,7 @@ PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, } } - if (flags & PKCS7_PARTSIGN) + if (flags & PKCS7_STREAM) return p7; if (!(p7bio = PKCS7_dataInit(p7, NULL))) { |