aboutsummaryrefslogtreecommitdiff
path: root/gost_ec_keyx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gost_ec_keyx.c')
-rw-r--r--gost_ec_keyx.c4
1 files changed, 2 insertions, 2 deletions
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);