X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fengine%2Ftb_store.c;h=6cc6d759d98ab76051bdccd86b75f91fa0152c07;hp=1466d85a41b702a73da8f6985399fab59cb5582b;hb=0239876511cccc827a1f662b5b4fdfc5d1864996;hpb=93c929e411e40bc8224e1a97a1656694940b1d64 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)