From 6d14cc7ec1a792c55b0c1c7ee84fc046eef53692 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 13 Jul 2006 20:35:33 +0000 Subject: [PATCH] Fix from HEAD. --- apps/smime.c | 6 ------ 1 file changed, 6 deletions(-) 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 { -- 2.25.1