]> granicus.if.org Git - openssl/commitdiff
Fix from HEAD.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 13 Jul 2006 20:35:33 +0000 (20:35 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 13 Jul 2006 20:35:33 +0000 (20:35 +0000)
apps/smime.c

index 06efef0913cae54afd3cdc016c6626caac517a20..830f18cd8479f01e7bad5f1839181694e9975c6f 100644 (file)
@@ -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
                {