aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ecdh
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2010-06-12 14:13:23 +0000
committerBen Laurie <ben@openssl.org>2010-06-12 14:13:23 +0000
commitc8bbd98a2b0c2a5164c42f951cd2866512839b5a (patch)
treefe50b2de26e0f563ce0b21b88d80da407dbc7999 /crypto/ecdh
parent57ae37a00388ca177d67d4cee8db167f7e27fc7c (diff)
downloadopenssl-c8bbd98a2b0c2a5164c42f951cd2866512839b5a.tar.gz
Fix warnings.
Diffstat (limited to 'crypto/ecdh')
-rw-r--r--crypto/ecdh/ech_lib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/ecdh/ech_lib.c b/crypto/ecdh/ech_lib.c
index e89b1d4772..4d8ea03d3d 100644
--- a/crypto/ecdh/ech_lib.c
+++ b/crypto/ecdh/ech_lib.c
@@ -96,7 +96,6 @@ const ECDH_METHOD *ECDH_get_default_method(void)
int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth)
{
- const ECDH_METHOD *mtmp;
ECDH_DATA *ecdh;
ecdh = ecdh_check(eckey);
@@ -104,8 +103,8 @@ int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth)
if (ecdh == NULL)
return 0;
- mtmp = ecdh->meth;
#if 0
+ mtmp = ecdh->meth;
if (mtmp->finish)
mtmp->finish(eckey);
#endif