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

Set error if EVP_CipherUpdate fails.



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent ba1a1c37
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -163,6 +163,7 @@ static int enc_read(BIO *b, char *out, int outl)
                                  (unsigned char *)&(ctx->buf[BUF_OFFSET]),
                                  i)) {
                BIO_clear_retry_flags(b);
                ctx->ok = 0;
                return 0;
            }
            ctx->cont = 1;