diff options
Diffstat (limited to 'src/lib/libcrypto/dso/dso_dlfcn.c')
-rw-r--r-- | src/lib/libcrypto/dso/dso_dlfcn.c | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/src/lib/libcrypto/dso/dso_dlfcn.c b/src/lib/libcrypto/dso/dso_dlfcn.c index 6cf9ab2667..bebfdcdbc4 100644 --- a/src/lib/libcrypto/dso/dso_dlfcn.c +++ b/src/lib/libcrypto/dso/dso_dlfcn.c | |||
@@ -93,23 +93,15 @@ static int dlfcn_pathbyaddr(void *addr, char *path, int sz); | |||
93 | static void *dlfcn_globallookup(const char *name); | 93 | static void *dlfcn_globallookup(const char *name); |
94 | 94 | ||
95 | static DSO_METHOD dso_meth_dlfcn = { | 95 | static DSO_METHOD dso_meth_dlfcn = { |
96 | "OpenSSL 'dlfcn' shared library method", | 96 | .name = "OpenSSL 'dlfcn' shared library method", |
97 | dlfcn_load, | 97 | .dso_load = dlfcn_load, |
98 | dlfcn_unload, | 98 | .dso_unload = dlfcn_unload, |
99 | dlfcn_bind_var, | 99 | .dso_bind_var = dlfcn_bind_var, |
100 | dlfcn_bind_func, | 100 | .dso_bind_func = dlfcn_bind_func, |
101 | /* For now, "unbind" doesn't exist */ | 101 | .dso_name_converter = dlfcn_name_converter, |
102 | #if 0 | 102 | .dso_merger = dlfcn_merger, |
103 | NULL, /* unbind_var */ | 103 | .pathbyaddr = dlfcn_pathbyaddr, |
104 | NULL, /* unbind_func */ | 104 | .globallookup = dlfcn_globallookup |
105 | #endif | ||
106 | NULL, /* ctrl */ | ||
107 | dlfcn_name_converter, | ||
108 | dlfcn_merger, | ||
109 | NULL, /* init */ | ||
110 | NULL, /* finish */ | ||
111 | dlfcn_pathbyaddr, | ||
112 | dlfcn_globallookup | ||
113 | }; | 105 | }; |
114 | 106 | ||
115 | DSO_METHOD * | 107 | DSO_METHOD * |