summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dso/dso.h
diff options
context:
space:
mode:
authormiod <>2014-04-15 20:13:09 +0000
committermiod <>2014-04-15 20:13:09 +0000
commit3f8211669c80ef4b109a5e370bb4c43b9b7e2f2e (patch)
tree6a1c93734ee68cef9e561cf3183d1e91df3f1f80 /src/lib/libcrypto/dso/dso.h
parentf88d9acb16e601adf96b4de4b1041d52d0d846da (diff)
downloadopenbsd-3f8211669c80ef4b109a5e370bb4c43b9b7e2f2e.tar.gz
openbsd-3f8211669c80ef4b109a5e370bb4c43b9b7e2f2e.tar.bz2
openbsd-3f8211669c80ef4b109a5e370bb4c43b9b7e2f2e.zip
Just like every web browser expands until it can read mail, every modular
library expands until it has its own dlfcn wrapper, and libcrypto is no exception. Remove the non-dlfcn DSO methods. This causes public DSO_METHOD_{beos,dl,vms,win32} to disappear (major bump coming soon). Note that portable software ought to use DSO_METHOD_openssl instead of picking the backend directly (which makes one wonder why the backends are exposed, as it is unlikely that more than one can work on your system). ok beck@ deraadt@
Diffstat (limited to 'src/lib/libcrypto/dso/dso.h')
-rw-r--r--src/lib/libcrypto/dso/dso.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/libcrypto/dso/dso.h b/src/lib/libcrypto/dso/dso.h
index 839f2e0617..f36f209afd 100644
--- a/src/lib/libcrypto/dso/dso.h
+++ b/src/lib/libcrypto/dso/dso.h
@@ -290,17 +290,6 @@ DSO_METHOD *DSO_METHOD_null(void);
290 * this method. If not, this method will return NULL. */ 290 * this method. If not, this method will return NULL. */
291DSO_METHOD *DSO_METHOD_dlfcn(void); 291DSO_METHOD *DSO_METHOD_dlfcn(void);
292 292
293/* If DSO_DL is defined, the standard dl.h-style functions (shl_load,
294 * shl_unload, shl_findsym, etc) will be used and incorporated into
295 * this method. If not, this method will return NULL. */
296DSO_METHOD *DSO_METHOD_dl(void);
297
298/* If WIN32 is defined, use DLLs. If not, return NULL. */
299DSO_METHOD *DSO_METHOD_win32(void);
300
301/* If VMS is defined, use shared images. If not, return NULL. */
302DSO_METHOD *DSO_METHOD_vms(void);
303
304/* This function writes null-terminated pathname of DSO module 293/* This function writes null-terminated pathname of DSO module
305 * containing 'addr' into 'sz' large caller-provided 'path' and 294 * containing 'addr' into 'sz' large caller-provided 'path' and
306 * returns the number of characters [including trailing zero] 295 * returns the number of characters [including trailing zero]