Commit f517ffbb authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

remove ECDH_METHOD from ENGINE

parent 53e3189d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,13 +17,13 @@ GENERAL=Makefile
LIB=$(TOP)/libcrypto.a
LIBSRC= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \
	eng_table.c eng_pkey.c eng_fat.c eng_all.c \
	tb_rsa.c tb_dsa.c tb_ecdsa.c tb_dh.c tb_ecdh.c tb_rand.c tb_store.c \
	tb_rsa.c tb_dsa.c tb_ecdsa.c tb_dh.c tb_rand.c tb_store.c \
	tb_cipher.c tb_digest.c tb_pkmeth.c tb_asnmth.c tb_eckey.c \
	eng_openssl.c eng_cnf.c eng_dyn.c eng_cryptodev.c \
	eng_rdrand.c
LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \
	eng_table.o eng_pkey.o eng_fat.o eng_all.o \
	tb_rsa.o tb_dsa.o tb_ecdsa.o tb_dh.o tb_ecdh.o tb_rand.o tb_store.o \
	tb_rsa.o tb_dsa.o tb_ecdsa.o tb_dh.o tb_rand.o tb_store.o \
	tb_cipher.o tb_digest.o tb_pkmeth.o tb_asnmth.o tb_eckey.o \
	eng_openssl.o eng_cnf.o eng_dyn.o eng_cryptodev.o \
	eng_rdrand.o
+0 −5
Original line number Diff line number Diff line
@@ -80,8 +80,6 @@ int ENGINE_set_default(ENGINE *e, unsigned int flags)
        return 0;
#endif
#ifndef OPENSSL_NO_EC
    if ((flags & ENGINE_METHOD_ECDH) && !ENGINE_set_default_ECDH(e))
        return 0;
    if ((flags & ENGINE_METHOD_ECDSA) && !ENGINE_set_default_ECDSA(e))
        return 0;
#endif
@@ -109,8 +107,6 @@ static int int_def_cb(const char *alg, int len, void *arg)
        *pflags |= ENGINE_METHOD_RSA;
    else if (strncmp(alg, "DSA", len) == 0)
        *pflags |= ENGINE_METHOD_DSA;
    else if (strncmp(alg, "ECDH", len) == 0)
        *pflags |= ENGINE_METHOD_ECDH;
    else if (strncmp(alg, "ECDSA", len) == 0)
        *pflags |= ENGINE_METHOD_ECDSA;
    else if (strncmp(alg, "DH", len) == 0)
@@ -158,7 +154,6 @@ int ENGINE_register_complete(ENGINE *e)
    ENGINE_register_DH(e);
#endif
#ifndef OPENSSL_NO_EC
    ENGINE_register_ECDH(e);
    ENGINE_register_ECDSA(e);
#endif
    ENGINE_register_RAND(e);
+0 −1
Original line number Diff line number Diff line
@@ -179,7 +179,6 @@ struct engine_st {
    const RSA_METHOD *rsa_meth;
    const DSA_METHOD *dsa_meth;
    const DH_METHOD *dh_meth;
    const ECDH_METHOD *ecdh_meth;
    const ECDSA_METHOD *ecdsa_meth;
    const EC_KEY_METHOD *ec_key_meth;
    const RAND_METHOD *rand_meth;
+0 −1
Original line number Diff line number Diff line
@@ -302,7 +302,6 @@ static void engine_cpy(ENGINE *dest, const ENGINE *src)
    dest->dh_meth = src->dh_meth;
#endif
#ifndef OPENSSL_NO_EC
    dest->ecdh_meth = src->ecdh_meth;
    dest->ecdsa_meth = src->ecdsa_meth;
#endif
    dest->rand_meth = src->rand_meth;
+0 −1
Original line number Diff line number Diff line
@@ -155,7 +155,6 @@ static int bind_helper(ENGINE *e)
        || !ENGINE_set_DSA(e, DSA_get_default_method())
# endif
# ifndef OPENSSL_NO_EC
        || !ENGINE_set_ECDH(e, ECDH_OpenSSL())
        || !ENGINE_set_ECDSA(e, ECDSA_OpenSSL())
# endif
# ifndef OPENSSL_NO_DH
Loading