summaryrefslogtreecommitdiffstats
path: root/crypto/evp/bio_b64.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-10-02 15:33:06 +0200
committerDr. Stephen Henson <steve@openssl.org>1999-10-02 15:33:06 +0200
commit4579dd5dc69167489eafbf0c439ba0fa29f60ee4 (patch)
treec0f47f637afd30fcb1c0854ba65f6d3e22f6f937 /crypto/evp/bio_b64.c
parentModify the 'speed' application so it now uses RSA_sign and RSA_verify (diff)
downloadopenssl-4579dd5dc69167489eafbf0c439ba0fa29f60ee4.tar.xz
openssl-4579dd5dc69167489eafbf0c439ba0fa29f60ee4.zip
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;
}