]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Fix #67
authorDmitry Belyavskiy <beldmit@gmail.com>
Thu, 12 Jul 2018 19:06:05 +0000 (22:06 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Thu, 12 Jul 2018 19:06:05 +0000 (22:06 +0300)
gost_ameth.c

index 05d9cd29c4c38a23ca805b44f26e7f79c8e11008..d53b89e89d577eab679b7602ec7e0d5158e21f76 100644 (file)
@@ -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: