summarylogtreecommitdiffstats
path: root/openssl_crypto.patch
blob: e3055b2e712c888b9bdda551d543f5cc2f57d18c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Fix linking error:

Undefined symbols:
  "_X509_free", referenced from:
      _smtp_open in ssmtp.o
ld: symbol(s) not found


Index: ssmtp-2.64/configure.in
===================================================================
--- ssmtp-2.64.orig/configure.in
+++ ssmtp-2.64/configure.in
@@ -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=""