summaryrefslogtreecommitdiff
path: root/src/htsmodules.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-03-19 12:57:43 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-03-19 12:57:43 +0000
commit64cc4a88da8887ef1f7f4d90be0158d2cc76222d (patch)
treee72af709fbce8bc495f51e7f0518de9a9a2c3b7f /src/htsmodules.c
parent844ecc37072d515513177c65a8c9dc35c9cdfc1a (diff)
httrack 3.40.4
Diffstat (limited to 'src/htsmodules.c')
-rw-r--r--src/htsmodules.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/htsmodules.c b/src/htsmodules.c
index 3299c41..ba3927e 100644
--- a/src/htsmodules.c
+++ b/src/htsmodules.c
@@ -307,8 +307,11 @@ void htspe_init() {
#ifdef _WIN32
handle = LoadLibraryA((char*)"ssleay32");
#else
- /* We are compatible with 0.9.6/7 and potentially above */
- handle = dlopen("libssl.so.0.9.7", RTLD_LAZY);
+ /* We are compatible with 0.9.6/7/8 and potentially above */
+ handle = dlopen("libssl.so.0.9.8", RTLD_LAZY);
+ if (handle == NULL) {
+ handle = dlopen("libssl.so.0.9.7", RTLD_LAZY);
+ }
if (handle == NULL) {
handle = dlopen("libssl.so.0.9.6", RTLD_LAZY);
}