From: J Mohan Rao Arisankala Date: Fri, 6 May 2016 01:35:44 +0000 (+0530) Subject: fix check X-Git-Tag: OpenSSL_1_1_0-pre6~901 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e0d32e98f00cfd39977593ae1bc6cfd2ab6bbb0e;p=oweals%2Fopenssl.git fix check Reviewed-by: Kurt Roeckx Reviewed-by: Matt Caswell --- 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);