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 /apps | |
parent | 0185803cc224c8d88ca39ae07c296a4f1854e478 (diff) | |
download | openssl-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 'apps')
-rw-r--r-- | apps/smime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/smime.c b/apps/smime.c index 83daa71ca1..1d7d828e01 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -482,10 +482,10 @@ int MAIN(int argc, char **argv) * signing. */ if ((flags & PKCS7_DETACHED) && (outformat == FORMAT_SMIME)) - flags |= PKCS7_PARTSIGN; + flags |= PKCS7_STREAM; p7 = PKCS7_sign(signer, key, other, in, flags); /* Don't need to rewind for partial signing */ - if (!(flags & PKCS7_PARTSIGN) && (BIO_reset(in) != 0)) { + if (!(flags & PKCS7_STREAM) && (BIO_reset(in) != 0)) { BIO_printf(bio_err, "Can't rewind input file\n"); goto end; } |