summaryrefslogtreecommitdiff
path: root/print/cups/patches/patch-ae
blob: ee29da5e63484c7896dbe710371ddc8427ae9c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ae,v 1.12 2003/03/20 17:30:18 fredb Exp $

--- config-scripts/cups-openssl.m4.orig	Tue Dec 17 12:56:39 2002
+++ config-scripts/cups-openssl.m4
@@ -45,7 +45,12 @@ if test x$enable_ssl != xno; then
 	dnl of OpenSSL exists.  So we test the linking three times in
 	dnl case the RSAREF libraries are needed.
 
+	dnl NetBSD 1.6 has a crypt() in both -lcrypt and -lcrypto, but only
+	dnl the one in -lcrypt supports blowfish and other password salts,
+	dnl so always link -lcrypt in first, if possible.
+
 	for libcrypto in \
+	    "-lcrypt -lcrypto" \
 	    "-lcrypto" \
 	    "-lcrypto -lrsaref" \
 	    "-lcrypto -lRSAglue -lrsaref"