“5d9cd9ecbf40b8bd5045a3c2f1feb35db6a12266”上不存在“README”
提交 e9a182fa 编写于 作者: R Richard Levitte

Generate an error if rewinding wasn't possible.

Notified by Ken Hirsch <kenhirsch@myself.com>.
PR: 23
上级 b6db386f
无相关合并请求
......@@ -471,7 +471,10 @@ int MAIN(int argc, char **argv)
p7 = PKCS7_encrypt(encerts, in, cipher, flags);
} else if(operation == SMIME_SIGN) {
p7 = PKCS7_sign(signer, key, other, in, flags);
BIO_reset(in);
if (BIO_reset(in) != 0 && (flags & PKCS7_DETACHED)) {
BIO_printf(bio_err, "Can't rewind input file\n");
goto end;
}
} else {
if(informat == FORMAT_SMIME)
p7 = SMIME_read_PKCS7(in, &indata);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部