$OpenBSD: patch-configure,v 1.13 2003/11/02 00:38:32 margarida Exp $
--- configure.orig	2003-07-10 09:25:31.000000000 +0100
+++ configure	2003-11-02 00:29:07.000000000 +0000
@@ -10105,7 +10105,7 @@ if test $check_ssh -ne 0; then
 
    if test -f $ssl_path/include/openssl/ssl.h; then
       COPTS="$COPTS -I$ssl_path/include"
-      LIBS="$LIBS -L$ssl_path/lib -lssl -lcrypto"
+      LIBS="$LIBS -L$ssl_path/lib -lssl -lcrypto -ldes"
       cat >>confdefs.h <<\_ACEOF
 #define HAVE_OPENSSL 1
 _ACEOF
@@ -10115,7 +10115,7 @@ _ACEOF
 echo "${ECHO_T}yes" >&6
    elif test -f $ssl_path/ssl/include/openssl/ssl.h; then
       COPTS="$COPTS -I$ssl_path/ssl/include"
-      LIBS="$LIBS -L$ssl_path/ssl/lib -lssl -lcrypto"
+      LIBS="$LIBS -L$ssl_path/ssl/lib -lssl -lcrypto -ldes"
       cat >>confdefs.h <<\_ACEOF
 #define HAVE_OPENSSL 1
 _ACEOF
@@ -10124,7 +10124,7 @@ _ACEOF
       echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6
    elif test -f /usr/include/openssl/ssl.h; then
-      LIBS="$LIBS -lssl -lcrypto"
+      LIBS="$LIBS -lssl -lcrypto -ldes"
       cat >>confdefs.h <<\_ACEOF
 #define HAVE_OPENSSL 1
 _ACEOF
