From 2f877235a3e63324a9af11b4f4e4464a56755d3c Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Wed, 4 Apr 2007 14:38:59 +0000 Subject: [PATCH] Missing return on error. Coverity ID 115. --- engines/ccgost/gost_ameth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/ccgost/gost_ameth.c b/engines/ccgost/gost_ameth.c index 06f8c1e19a..807aff6bbd 100644 --- a/engines/ccgost/gost_ameth.c +++ b/engines/ccgost/gost_ameth.c @@ -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); -- 2.25.1