Make {ECDH,ECDSA}_set_method() always fail
authortb <tb@openbsd.org>
Sun, 25 Jun 2023 18:24:33 +0000 (18:24 +0000)
committertb <tb@openbsd.org>
Sun, 25 Jun 2023 18:24:33 +0000 (18:24 +0000)
commitd12c2c7e08b9bed1a55424860daa6b0499defebf
tree5d1b57e470fe8ff747ef1d9acbebec351e4833ef
parent8d4a28926c1bb1628a0caff778baf5c6b59ec9f4
Make {ECDH,ECDSA}_set_method() always fail

They will be removed in the next major bump. No port uses them. They use
code that is in the way of upcoming surgery. Only libtls used the ECDSA
version, but thankfully op cleaned that up.

ok jsing
lib/libcrypto/ecdh/ech_lib.c
lib/libcrypto/ecdsa/ecs_lib.c