diff options
Diffstat (limited to 'src/lib/libcrypto/ecdh/ech_lib.c')
-rw-r--r-- | src/lib/libcrypto/ecdh/ech_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_lib.c b/src/lib/libcrypto/ecdh/ech_lib.c index e89b1d4772..4d8ea03d3d 100644 --- a/src/lib/libcrypto/ecdh/ech_lib.c +++ b/src/lib/libcrypto/ecdh/ech_lib.c | |||
@@ -96,7 +96,6 @@ const ECDH_METHOD *ECDH_get_default_method(void) | |||
96 | 96 | ||
97 | int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth) | 97 | int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth) |
98 | { | 98 | { |
99 | const ECDH_METHOD *mtmp; | ||
100 | ECDH_DATA *ecdh; | 99 | ECDH_DATA *ecdh; |
101 | 100 | ||
102 | ecdh = ecdh_check(eckey); | 101 | ecdh = ecdh_check(eckey); |
@@ -104,8 +103,8 @@ int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth) | |||
104 | if (ecdh == NULL) | 103 | if (ecdh == NULL) |
105 | return 0; | 104 | return 0; |
106 | 105 | ||
107 | mtmp = ecdh->meth; | ||
108 | #if 0 | 106 | #if 0 |
107 | mtmp = ecdh->meth; | ||
109 | if (mtmp->finish) | 108 | if (mtmp->finish) |
110 | mtmp->finish(eckey); | 109 | mtmp->finish(eckey); |
111 | #endif | 110 | #endif |