From 0239876511cccc827a1f662b5b4fdfc5d1864996 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 19 May 2003 23:03:43 +0000 Subject: [PATCH] Remove certain functions --- crypto/engine/tb_store.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crypto/engine/tb_store.c b/crypto/engine/tb_store.c index 1466d85a41..6cc6d759d9 100644 --- a/crypto/engine/tb_store.c +++ b/crypto/engine/tb_store.c @@ -90,6 +90,8 @@ void ENGINE_register_all_STORE() ENGINE_register_STORE(e); } +/* The following two functions are removed because they're useless. */ +#if 0 int ENGINE_set_default_STORE(ENGINE *e) { if(e->store_meth) @@ -97,7 +99,9 @@ int ENGINE_set_default_STORE(ENGINE *e) engine_unregister_all_STORE, e, &dummy_nid, 1, 1); return 1; } +#endif +#if 0 /* Exposed API function to get a functional reference from the implementation * table (ie. try to get a functional reference from the tabled structural * references). */ @@ -105,6 +109,7 @@ ENGINE *ENGINE_get_default_STORE(void) { return engine_table_select(&store_table, dummy_nid); } +#endif /* Obtains an STORE implementation from an ENGINE functional reference */ const STORE_METHOD *ENGINE_get_STORE(const ENGINE *e) -- 2.25.1