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

Note cipher BIO write errors too.

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 e125c12f
......@@ -231,6 +231,7 @@ static int enc_write(BIO *b, const char *in, int inl)
(unsigned char *)ctx->buf, &ctx->buf_len,
(unsigned char *)in, n)) {
BIO_clear_retry_flags(b);
ctx->ok = 0;
return 0;
}
inl -= n;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册