Initialise alg.

PR#3313
This commit is contained in:
David Ramos 2014-06-01 13:03:05 +01:00 committed by Dr. Stephen Henson
parent 4fdf91742e
commit 7e2c6f7eb0

View File

@ -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)
{