aboutsummaryrefslogtreecommitdiff
path: root/gost_ec_keyx.c
diff options
context:
space:
mode:
authorMouse <mouse008@gmail.com>2017-06-27 18:32:32 -0400
committerMouse <mouse008@gmail.com>2017-06-27 18:32:32 -0400
commit05690cd479ec4ed9646afbc764f0dcb264b861e8 (patch)
tree393cf0be0bd4494397c03e729416fdad9b74696d /gost_ec_keyx.c
parent53cb3eac19a09048895bdf081ce81a1549b0a0c7 (diff)
downloadgost-engine-05690cd479ec4ed9646afbc764f0dcb264b861e8.zip
gost-engine-05690cd479ec4ed9646afbc764f0dcb264b861e8.tar.gz
gost-engine-05690cd479ec4ed9646afbc764f0dcb264b861e8.tar.bz2
Fix compiler warnings
Diffstat (limited to 'gost_ec_keyx.c')
-rw-r--r--gost_ec_keyx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gost_ec_keyx.c b/gost_ec_keyx.c
index 0684676..30d8e58 100644
--- a/gost_ec_keyx.c
+++ b/gost_ec_keyx.c
@@ -26,7 +26,6 @@ static int VKO_compute_key(unsigned char *shared_key, size_t shared_key_size,
BIGNUM *UKM = NULL, *p = NULL, *order = NULL, *X = NULL, *Y = NULL;
const BIGNUM *key = EC_KEY_get0_private_key(priv_key);
EC_POINT *pnt = EC_POINT_new(EC_KEY_get0_group(priv_key));
- int i;
BN_CTX *ctx = BN_CTX_new();
EVP_MD_CTX *mdctx = NULL;
const EVP_MD *md = NULL;