[openssl-commits] [openssl] master update

Dr. Stephen Henson steve at openssl.org
Tue Jul 26 21:49:22 UTC 2016


The branch master has been updated
       via  976ef6adcc157233fb641ca99e2424630ef1814f (commit)
      from  e125c12f5718cf589b3469aa40a54421a2536bd2 (commit)


- Log -----------------------------------------------------------------
commit 976ef6adcc157233fb641ca99e2424630ef1814f
Author: Dr. Stephen Henson <steve at openssl.org>
Date:   Tue Jul 26 20:22:49 2016 +0100

    Note cipher BIO write errors too.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/evp/bio_enc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/evp/bio_enc.c b/crypto/evp/bio_enc.c
index d1422f0..5bc5d65 100644
--- 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;


More information about the openssl-commits mailing list