summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormiod <>2010-10-18 18:06:09 +0000
committermiod <>2010-10-18 18:06:09 +0000
commite3813d6d8526e5e3f8bfe5a9a780570befb27d5a (patch)
tree0b36b1ca548aa40014edd70078fa562c2638fe06 /src
parentc2ca3e58bdacd6fc9c70dded86bb6c3b997e341b (diff)
downloadopenbsd-e3813d6d8526e5e3f8bfe5a9a780570befb27d5a.tar.gz
openbsd-e3813d6d8526e5e3f8bfe5a9a780570befb27d5a.tar.bz2
openbsd-e3813d6d8526e5e3f8bfe5a9a780570befb27d5a.zip
Disable use of dladdr() on a.out arches, they do not provide it (yet); ok djm@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/dso/dso_dlfcn.c2
-rw-r--r--src/lib/libssl/src/crypto/dso/dso_dlfcn.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/dso/dso_dlfcn.c b/src/lib/libcrypto/dso/dso_dlfcn.c
index 5dceaf7b00..578a20d91d 100644
--- a/src/lib/libcrypto/dso/dso_dlfcn.c
+++ b/src/lib/libcrypto/dso/dso_dlfcn.c
@@ -85,7 +85,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
85# define HAVE_DLINFO 1 85# define HAVE_DLINFO 1
86# if defined(_AIX) || defined(__CYGWIN__) || \ 86# if defined(_AIX) || defined(__CYGWIN__) || \
87 defined(__SCO_VERSION__) || defined(_SCO_ELF) || \ 87 defined(__SCO_VERSION__) || defined(_SCO_ELF) || \
88 (defined(__OpenBSD__) && !defined(RTLD_SELF)) 88 (defined(__OpenBSD__) && (!defined(__ELF__) || !defined(RTLD_SELF)))
89# undef HAVE_DLINFO 89# undef HAVE_DLINFO
90# endif 90# endif
91#endif 91#endif
diff --git a/src/lib/libssl/src/crypto/dso/dso_dlfcn.c b/src/lib/libssl/src/crypto/dso/dso_dlfcn.c
index 5dceaf7b00..578a20d91d 100644
--- a/src/lib/libssl/src/crypto/dso/dso_dlfcn.c
+++ b/src/lib/libssl/src/crypto/dso/dso_dlfcn.c
@@ -85,7 +85,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
85# define HAVE_DLINFO 1 85# define HAVE_DLINFO 1
86# if defined(_AIX) || defined(__CYGWIN__) || \ 86# if defined(_AIX) || defined(__CYGWIN__) || \
87 defined(__SCO_VERSION__) || defined(_SCO_ELF) || \ 87 defined(__SCO_VERSION__) || defined(_SCO_ELF) || \
88 (defined(__OpenBSD__) && !defined(RTLD_SELF)) 88 (defined(__OpenBSD__) && (!defined(__ELF__) || !defined(RTLD_SELF)))
89# undef HAVE_DLINFO 89# undef HAVE_DLINFO
90# endif 90# endif
91#endif 91#endif