projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e125c12
)
Note cipher BIO write errors too.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 26 Jul 2016 19:22:49 +0000
(20:22 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 26 Jul 2016 21:42:31 +0000
(22:42 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/evp/bio_enc.c
patch
|
blob
|
history
diff --git
a/crypto/evp/bio_enc.c
b/crypto/evp/bio_enc.c
index d1422f03bff3a87f14a6aa7e81da0e55a9f928ab..5bc5d65e6d67dbff1028674a87c27f49d6698a74 100644
(file)
--- a/
crypto/evp/bio_enc.c
+++ b/
crypto/evp/bio_enc.c
@@
-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;