From: Dr. Stephen Henson Date: Thu, 13 Jul 2006 20:35:33 +0000 (+0000) Subject: Fix from HEAD. X-Git-Tag: OpenSSL_0_9_8c~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d14cc7ec1a792c55b0c1c7ee84fc046eef53692;p=openssl Fix from HEAD. --- diff --git a/apps/smime.c b/apps/smime.c index 06efef0913..830f18cd84 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -650,12 +650,6 @@ int MAIN(int argc, char **argv) if ((flags & PKCS7_DETACHED) && (outformat == FORMAT_SMIME)) flags |= PKCS7_STREAM; p7 = PKCS7_sign(signer, key, other, in, flags); - /* Don't need to rewind for partial signing */ - if (!(flags & PKCS7_STREAM) && (BIO_reset(in) != 0)) - { - BIO_printf(bio_err, "Can't rewind input file\n"); - goto end; - } } else {