summaryrefslogtreecommitdiff
path: root/crypto/evp/bio_b64.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-10-02 13:33:06 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-10-02 13:33:06 +0000
commit4579dd5dc69167489eafbf0c439ba0fa29f60ee4 (patch)
treec0f47f637afd30fcb1c0854ba65f6d3e22f6f937 /crypto/evp/bio_b64.c
parentc91e1259347388b57264bec5b4a9fd91237adc26 (diff)
downloadopenssl-new-4579dd5dc69167489eafbf0c439ba0fa29f60ee4.tar.gz
Fix for base64 BIO decoding bug
Diffstat (limited to 'crypto/evp/bio_b64.c')
-rw-r--r--crypto/evp/bio_b64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/bio_b64.c b/crypto/evp/bio_b64.c
index 84729119df..913bafa5f7 100644
--- a/crypto/evp/bio_b64.c
+++ b/crypto/evp/bio_b64.c
@@ -237,8 +237,8 @@ static int b64_read(BIO *b, char *out, int outl)
&(ctx->tmp[0]));
for (x=0; x < i; x++)
ctx->tmp[x]=p[x];
- EVP_DecodeInit(&ctx->base64);
}
+ EVP_DecodeInit(&ctx->base64);
ctx->start=0;
break;
}