From e0d32e98f00cfd39977593ae1bc6cfd2ab6bbb0e Mon Sep 17 00:00:00 2001 From: J Mohan Rao Arisankala Date: Fri, 6 May 2016 07:05:44 +0530 Subject: [PATCH] fix check Reviewed-by: Kurt Roeckx Reviewed-by: Matt Caswell --- crypto/evp/bio_b64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1