summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-10-22 17:11:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-10-22 17:11:38 +0000
commit9186647b46d925235c68d86b262ae8d190d0e0ec (patch)
tree2076f3e5e5c8dc4b0e76734877371243cdc82f4f /lib/libssl
parent7fa11b5f8f652aab549b80cd3708051e2253b727 (diff)
Restore r1.10, lost during last update:
Disable use of dladdr() on a.out arches, they do not provide it (yet);
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/src/crypto/dso/dso_dlfcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/dso/dso_dlfcn.c b/lib/libssl/src/crypto/dso/dso_dlfcn.c
index 5f351b318dd..e21b9f6dbc2 100644
--- a/lib/libssl/src/crypto/dso/dso_dlfcn.c
+++ b/lib/libssl/src/crypto/dso/dso_dlfcn.c
@@ -86,7 +86,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
# if defined(_AIX) || defined(__CYGWIN__) || \
defined(__SCO_VERSION__) || defined(_SCO_ELF) || \
(defined(__osf__) && !defined(RTLD_NEXT)) || \
- (defined(__OpenBSD__) && !defined(RTLD_SELF)) || \
+ (defined(__OpenBSD__) && (!defined(__ELF__) || !defined(RTLD_SELF))) || \
defined(__ANDROID__)
# undef HAVE_DLINFO
# endif