diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/bio_b64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/bio_b64.c b/crypto/evp/bio_b64.c index 6a95cf6dd6..76fe9e3600 100644 --- a/crypto/evp/bio_b64.c +++ b/crypto/evp/bio_b64.c @@ -122,12 +122,12 @@ static int b64_new(BIO *bi) ctx->cont = 1; ctx->start = 1; + ctx->base64 = EVP_ENCODE_CTX_new(); if (ctx->base64 == NULL) { OPENSSL_free(ctx); return 0; } - ctx->base64 = EVP_ENCODE_CTX_new(); BIO_set_data(bi, ctx); BIO_set_init(bi, 1); |