X-Git-Url: https://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_ec_keyx.c;h=8c2af2affef629a0ae5677bd8a505b5a61bd52cd;hb=868ae7a730a86f9c1021ea766cd714f817cb934d;hp=457b30880913d0611848c2d23e0e765e46cb88a8;hpb=6bea7d0e052ac677a6744d6f755006bb71f889a3;p=openssl-gost%2Fengine.git diff --git a/gost_ec_keyx.c b/gost_ec_keyx.c index 457b308..8c2af2a 100644 --- a/gost_ec_keyx.c +++ b/gost_ec_keyx.c @@ -79,8 +79,8 @@ static int VKO_compute_key(unsigned char *shared_key, size_t shared_key_size, } mdctx = EVP_MD_CTX_new(); if (!mdctx) { - GOSTerr(GOST_F_VKO_COMPUTE_KEY, ERR_R_MALLOC_FAILURE); - goto err; + GOSTerr(GOST_F_VKO_COMPUTE_KEY, ERR_R_MALLOC_FAILURE); + goto err; } EVP_MD_CTX_init(mdctx); EVP_DigestInit_ex(mdctx, md, NULL);