From 7e2c6f7eb01515a990f77fbc5441be8e1a17152a Mon Sep 17 00:00:00 2001 From: David Ramos Date: Sun, 1 Jun 2014 13:03:05 +0100 Subject: [PATCH] Initialise alg. PR#3313 --- engines/ccgost/gost_ameth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/ccgost/gost_ameth.c b/engines/ccgost/gost_ameth.c index 2cde1fcfd9..8b9230b9ab 100644 --- a/engines/ccgost/gost_ameth.c +++ b/engines/ccgost/gost_ameth.c @@ -269,7 +269,7 @@ static int pkey_ctrl_gost(EVP_PKEY *pkey, int op, case ASN1_PKEY_CTRL_CMS_ENVELOPE: if (arg1 == 0) { - X509_ALGOR *alg; + X509_ALGOR *alg = NULL; ASN1_STRING * params = encode_gost_algor_params(pkey); if (!params) { -- 2.40.0