summaryrefslogtreecommitdiffstats
path: root/engines/ccgost
diff options
context:
space:
mode:
authorDavid Ramos <daramos@stanford.edu>2014-06-01 13:03:05 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-06-01 13:05:20 +0100
commit5541b18ba80d7b099781fddf6587474dbf86365c (patch)
treedc23aac5796094d3cd6547cd6de828b608e77d72 /engines/ccgost
parent28e117f49f215df9bc8088de10b2bbd650de21ee (diff)
Initialise alg.
PR#3313 (cherry picked from commit 7e2c6f7eb01515a990f77fbc5441be8e1a17152a)
Diffstat (limited to 'engines/ccgost')
-rw-r--r--engines/ccgost/gost_ameth.c2
1 files changed, 1 insertions, 1 deletions
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)
{