diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-06-15 17:25:15 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-06-15 17:25:15 +0000 |
commit | e97359435ee15e6d2c0580c76a58040e8dc3ce60 (patch) | |
tree | 01c3ecc781efc58b6efb927129cdfe511644a3d5 /crypto/ecdh | |
parent | afce9bcca15bbf4a015d3f678cec5501ca1092eb (diff) |
Fix warnings (From HEAD, original patch by Ben).
Diffstat (limited to 'crypto/ecdh')
-rw-r--r-- | crypto/ecdh/ech_lib.c | 3 |
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 |