Missing return on error. Coverity ID 115.

This commit is contained in:
Ben Laurie 2007-04-04 14:38:59 +00:00
parent 309fa55bbb
commit 2f877235a3

View file

@ -119,6 +119,7 @@ static int decode_gost_algor_params(EVP_PKEY *pkey, X509_ALGOR *palg)
{
GOSTerr(GOST_F_DECODE_GOST_ALGOR_PARAMS,
GOST_R_BAD_PKEY_PARAMETERS_FORMAT);
return 0;
}
param_nid = OBJ_obj2nid(gkp->key_params);
GOST_KEY_PARAMS_free(gkp);