X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_ameth.c;h=f967283dff04529398fe9c3ec0bc59437385d6fb;hb=51bc37ca82a81742c0dda02bfa7d4a2ae67acab6;hp=ed40fd8631f56b2e24c384f611c081bce3a0e3e9;hpb=81fe59a6d5d2c652116b70835d1be09a96104bb5;p=openssl-gost%2Fengine.git diff --git a/gost_ameth.c b/gost_ameth.c index ed40fd8..f967283 100644 --- a/gost_ameth.c +++ b/gost_ameth.c @@ -594,7 +594,6 @@ static int param_missing_gost_ec(const EVP_PKEY *pk) return 0; } - static int param_copy_gost_ec(EVP_PKEY *to, const EVP_PKEY *from) { EC_KEY *eto = EVP_PKEY_get0(to); @@ -772,7 +771,7 @@ static int pub_encode_gost_ec(X509_PUBKEY *pub, const EVP_PKEY *pk) ret = i2d_ASN1_OCTET_STRING(octet, &buf); ASN1_BIT_STRING_free(octet); -err: + err: if (X) BN_free(X); if (Y)