Skip to content

Commit

Permalink
Note cipher BIO write errors too.
Browse files Browse the repository at this point in the history
Reviewed-by: Rich Salz <[email protected]>
  • Loading branch information
snhenson committed Jul 26, 2016
1 parent e125c12 commit 976ef6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/evp/bio_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 976ef6a

Please sign in to comment.