Missing return on error. Coverity ID 115.
authorBen Laurie <ben@openssl.org>
Wed, 4 Apr 2007 14:38:59 +0000 (14:38 +0000)
committerBen Laurie <ben@openssl.org>
Wed, 4 Apr 2007 14:38:59 +0000 (14:38 +0000)
engines/ccgost/gost_ameth.c

index 06f8c1e..807aff6 100644 (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);