From: Dmitry Belyavskiy Date: Thu, 12 Jul 2018 19:06:05 +0000 (+0300) Subject: Fix #67 X-Git-Tag: v3.0.0~416 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=28314b3bcf3f6111a51b42c0168eaa30a938a40d;p=openssl-gost%2Fengine.git Fix #67 --- diff --git a/gost_ameth.c b/gost_ameth.c index 05d9cd2..d53b89e 100644 --- a/gost_ameth.c +++ b/gost_ameth.c @@ -181,7 +181,7 @@ static int gost_set_priv_key(EVP_PKEY *pkey, BIGNUM *priv) if (!EC_KEY_set_private_key(ec, priv)) return 0; if (!EVP_PKEY_missing_parameters(pkey)) - gost_ec_compute_public(ec); + return gost_ec_compute_public(ec); break; } default: