aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/dynload.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/dynload.c')
-rw-r--r--cipher/dynload.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cipher/dynload.c b/cipher/dynload.c
index 318867796..ae3de3f5d 100644
--- a/cipher/dynload.c
+++ b/cipher/dynload.c
@@ -170,7 +170,11 @@ register_internal_cipher_extension(
}
/* and register */
el->enumfunc = enumfunc;
+ #ifdef HAVE_DL_OPEN
el->handle = (void*)1;
+ #else
+ el->handle = 1;
+ #endif
el->next = extensions;
extensions = el;
}