Missing return on error. Coverity ID 115.
This commit is contained in:
parent
309fa55bbb
commit
2f877235a3
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue