提交 f253a058 编写于 作者: D Dr. Stephen Henson

There is should be no need to rewind the input stream any more.

For S/MIME multipart/signed type the signature is calculated on the fly.

For other detached data forms the stream isn't used after the single pass to
calculate signatures.

For non-detached the data is stored in a memory BIO.
上级 b3c6a331
......@@ -708,11 +708,6 @@ int MAIN(int argc, char **argv)
{
if (!PKCS7_final(p7, in, flags))
goto end;
if (BIO_reset(in) != 0)
{
BIO_puts(bio_err, "Can't rewind input file\n");
goto end;
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册