summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine/tb_store.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/engine/tb_store.c')
-rw-r--r--src/lib/libcrypto/engine/tb_store.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/lib/libcrypto/engine/tb_store.c b/src/lib/libcrypto/engine/tb_store.c
index 2f0cc004f3..e9ad11ab01 100644
--- a/src/lib/libcrypto/engine/tb_store.c
+++ b/src/lib/libcrypto/engine/tb_store.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tb_store.c,v 1.4 2014/06/12 15:49:29 deraadt Exp $ */ 1/* $OpenBSD: tb_store.c,v 1.5 2015/02/07 13:19:15 doug Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2003 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2003 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -93,29 +93,6 @@ ENGINE_register_all_STORE(void)
93 ENGINE_register_STORE(e); 93 ENGINE_register_STORE(e);
94} 94}
95 95
96/* The following two functions are removed because they're useless. */
97#if 0
98int
99ENGINE_set_default_STORE(ENGINE *e)
100{
101 if (e->store_meth)
102 return engine_table_register(&store_table,
103 engine_unregister_all_STORE, e, &dummy_nid, 1, 1);
104 return 1;
105}
106#endif
107
108#if 0
109/* Exposed API function to get a functional reference from the implementation
110 * table (ie. try to get a functional reference from the tabled structural
111 * references). */
112ENGINE *
113ENGINE_get_default_STORE(void)
114{
115 return engine_table_select(&store_table, dummy_nid);
116}
117#endif
118
119/* Obtains an STORE implementation from an ENGINE functional reference */ 96/* Obtains an STORE implementation from an ENGINE functional reference */
120const STORE_METHOD * 97const STORE_METHOD *
121ENGINE_get_STORE(const ENGINE *e) 98ENGINE_get_STORE(const ENGINE *e)