diff options
Diffstat (limited to 'src/crypto/engine/engine.c')
-rw-r--r-- | src/crypto/engine/engine.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/crypto/engine/engine.c b/src/crypto/engine/engine.c index 6c3300d..25ea98d 100644 --- a/src/crypto/engine/engine.c +++ b/src/crypto/engine/engine.c @@ -17,8 +17,6 @@ #include <string.h> #include <assert.h> -#include <openssl/dh.h> -#include <openssl/dsa.h> #include <openssl/ec_key.h> #include <openssl/err.h> #include <openssl/mem.h> @@ -27,8 +25,6 @@ struct engine_st { - DH_METHOD *dh_method; - DSA_METHOD *dsa_method; RSA_METHOD *rsa_method; ECDSA_METHOD *ecdsa_method; }; @@ -64,26 +60,6 @@ static int set_method(void **out_member, const void *method, size_t method_size, return 1; } -int ENGINE_set_DH_method(ENGINE *engine, const DH_METHOD *method, - size_t method_size) { - return set_method((void **)&engine->dh_method, method, method_size, - sizeof(DH_METHOD)); -} - -DH_METHOD *ENGINE_get_DH_method(const ENGINE *engine) { - return engine->dh_method; -} - -int ENGINE_set_DSA_method(ENGINE *engine, const DSA_METHOD *method, - size_t method_size) { - return set_method((void **)&engine->dsa_method, method, method_size, - sizeof(DSA_METHOD)); -} - -DSA_METHOD *ENGINE_get_DSA_method(const ENGINE *engine) { - return engine->dsa_method; -} - int ENGINE_set_RSA_method(ENGINE *engine, const RSA_METHOD *method, size_t method_size) { return set_method((void **)&engine->rsa_method, method, method_size, |