--- ssmtp-2.61/configure.in.orig	2008-04-10 12:45:53.000000000 +1000
+++ ssmtp-2.61/configure.in	2008-04-10 12:46:10.000000000 +1000
@@ -52,7 +52,7 @@ AC_ARG_ENABLE(ssl,
 [  --enable-ssl           support for secure connection to mail server])
 if test x$enableval = xyes ; then
 	AC_DEFINE(HAVE_SSL)
-	LIBS="$LIBS -lssl"
+	LIBS="$LIBS -lssl -lcrypto"
 fi
 enableval=""
 
