diff options
Diffstat (limited to 'crypto/evp/bio_enc.c')
-rw-r--r-- | crypto/evp/bio_enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/evp/bio_enc.c b/crypto/evp/bio_enc.c index 5a4d9c5d87..d1422f03bf 100644 --- a/crypto/evp/bio_enc.c +++ b/crypto/evp/bio_enc.c @@ -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; |