Commit 976ef6ad authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Note cipher BIO write errors too.



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent e125c12f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;