summaryrefslogtreecommitdiff
path: root/crypto/ecdh
diff options
context:
space:
mode:
authorben <ben>2010-06-12 14:13:08 +0000
committerben <ben>2010-06-12 14:13:08 +0000
commit9900c8bfcc662243875d7cfe24e3fc74326aa4c2 (patch)
treeaf256a7daa20b2388510dc232da872d74ee03f5a /crypto/ecdh
parent764404c599d054194817d1288afd2ce3364b8b52 (diff)
downloadopenssl-9900c8bfcc662243875d7cfe24e3fc74326aa4c2.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 e89b1d477..4d8ea03d3 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