From 28314b3bcf3f6111a51b42c0168eaa30a938a40d Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Thu, 12 Jul 2018 22:06:05 +0300 Subject: [PATCH] Fix #67 --- gost_ameth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5