Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 735cbc3d799416b7755a8a888d7419ae > files > 3

httrack-3.43.9-1mdv2010.1.src.rpm

diff -urNp httrack-3.43.2.orig/src/htsmodules.c httrack-3.43.2/src/htsmodules.c
--- httrack-3.43.2.orig/src/htsmodules.c	2008-12-31 22:41:53.000000000 +0530
+++ httrack-3.43.2/src/htsmodules.c	2009-01-20 22:42:30.000000000 +0530
@@ -263,7 +263,10 @@ void htspe_init(void) {
       handle = LoadLibraryA((char*)"ssleay32");
 #else
       /* We are compatible with 0.9.6/7/8/8b and potentially above */
-      handle = dlopen("libssl.so.0.9.8g", RTLD_LAZY);  /* added 8g release too (Debarshi Ray) */
+      handle = dlopen("libssl.so.0.9.8j", RTLD_LAZY);  /* added 8j release too (Debarshi Ray) */
+      if (handle == NULL) {
+		handle = dlopen("libssl.so.0.9.8g", RTLD_LAZY);
+	  }
       if (handle == NULL) {
 		handle = dlopen("libssl.so.0.9.8b", RTLD_LAZY);
 	  }