diff options
author | tb <> | 2023-07-28 09:22:26 +0000 |
---|---|---|
committer | tb <> | 2023-07-28 09:22:26 +0000 |
commit | f15cd04d37436407bfd863b507fcd73ca66e3976 (patch) | |
tree | 4eb57ae2fdd0f6dff20d00655e0d117dcf61415d /src/lib/libcrypto/engine/eng_openssl.c | |
parent | e5c3cb1fc9513740908e7dc235cee9871623b942 (diff) | |
download | openbsd-f15cd04d37436407bfd863b507fcd73ca66e3976.tar.gz openbsd-f15cd04d37436407bfd863b507fcd73ca66e3976.tar.bz2 openbsd-f15cd04d37436407bfd863b507fcd73ca66e3976.zip |
Excise ECDH_METHOD
Unlike ECDSA_METHOD, this has been unused forever but kind of needed to
stay for symmetry with ECDSA_METHOD. Now we can finally take it behind
the barn and remove its tendrils into ENGINE.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/engine/eng_openssl.c')
-rw-r--r-- | src/lib/libcrypto/engine/eng_openssl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/engine/eng_openssl.c b/src/lib/libcrypto/engine/eng_openssl.c index 7abb6114bc..6162b715f0 100644 --- a/src/lib/libcrypto/engine/eng_openssl.c +++ b/src/lib/libcrypto/engine/eng_openssl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: eng_openssl.c,v 1.18 2023/07/28 09:08:31 tb Exp $ */ | 1 | /* $OpenBSD: eng_openssl.c,v 1.19 2023/07/28 09:22:26 tb Exp $ */ |
2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -146,9 +146,6 @@ bind_helper(ENGINE *e) | |||
146 | #ifndef OPENSSL_NO_DSA | 146 | #ifndef OPENSSL_NO_DSA |
147 | || !ENGINE_set_DSA(e, DSA_get_default_method()) | 147 | || !ENGINE_set_DSA(e, DSA_get_default_method()) |
148 | #endif | 148 | #endif |
149 | #ifndef OPENSSL_NO_ECDH | ||
150 | || !ENGINE_set_ECDH(e, ECDH_OpenSSL()) | ||
151 | #endif | ||
152 | #ifndef OPENSSL_NO_DH | 149 | #ifndef OPENSSL_NO_DH |
153 | || !ENGINE_set_DH(e, DH_get_default_method()) | 150 | || !ENGINE_set_DH(e, DH_get_default_method()) |
154 | #endif | 151 | #endif |