--- configure	Thu May 27 12:26:09 2004
+++ ../../configure	Mon Sep 20 09:03:58 2004
@@ -2829,7 +2829,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lssl  $LIBS"
+LIBS="-lssl -lcrypto $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -2892,7 +2892,7 @@
 #define HAVE_LIBSSL 1
 _ACEOF
 
-  LIBS="-lssl $LIBS"
+  LIBS="-lssl -lcrypto $LIBS"
 
 else
   { { echo "$as_me:$LINENO: error: error, OpenSSL required" >&5
