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

Set error if EVP_CipherUpdate fails.

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 ba1a1c37
......@@ -163,6 +163,7 @@ static int enc_read(BIO *b, char *out, int outl)
(unsigned char *)&(ctx->buf[BUF_OFFSET]),
i)) {
BIO_clear_retry_flags(b);
ctx->ok = 0;
return 0;
}
ctx->cont = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册