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

Flush p7bio when all data has been copied.

上级 6657b9c7
......@@ -121,6 +121,8 @@ int PKCS7_final(PKCS7 *p7, BIO *data, int flags)
SMIME_crlf_copy(data, p7bio, flags);
BIO_flush(p7bio);
if(PKCS7_type_is_signed(p7) && (flags & PKCS7_DETACHED))
PKCS7_set_detached(p7, 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册