$OpenBSD: patch-configure,v 1.11 2003/01/29 02:02:51 margarida Exp $
--- configure.orig	Tue Jan 28 19:01:15 2003
+++ configure	Tue Jan 28 19:00:13 2003
@@ -10057,7 +10057,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
@@ -10067,7 +10067,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
@@ -10076,7 +10076,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
