Fix from HEAD.
This commit is contained in:
parent
eb499b2854
commit
6d14cc7ec1
@ -650,12 +650,6 @@ int MAIN(int argc, char **argv)
|
|||||||
if ((flags & PKCS7_DETACHED) && (outformat == FORMAT_SMIME))
|
if ((flags & PKCS7_DETACHED) && (outformat == FORMAT_SMIME))
|
||||||
flags |= PKCS7_STREAM;
|
flags |= PKCS7_STREAM;
|
||||||
p7 = PKCS7_sign(signer, key, other, in, flags);
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user