|
|
ea9550 |
diff -up cups-1.6.2/config-scripts/cups-ssl.m4.no-gcry cups-1.6.2/config-scripts/cups-ssl.m4
|
|
|
ea9550 |
--- cups-1.6.2/config-scripts/cups-ssl.m4.no-gcry 2013-06-26 17:26:41.415750243 +0100
|
|
|
ea9550 |
+++ cups-1.6.2/config-scripts/cups-ssl.m4 2013-06-26 17:26:41.467750445 +0100
|
|
|
ea9550 |
@@ -93,7 +93,6 @@ if test x$enable_ssl != xno; then
|
|
|
ea9550 |
dnl Then look for GNU TLS...
|
|
|
ea9550 |
if test $have_ssl = 0 -a "x$enable_gnutls" != "xno" -a "x$PKGCONFIG" != x; then
|
|
|
ea9550 |
AC_PATH_PROG(LIBGNUTLSCONFIG,libgnutls-config)
|
|
|
ea9550 |
- AC_PATH_PROG(LIBGCRYPTCONFIG,libgcrypt-config)
|
|
|
ea9550 |
if $PKGCONFIG --exists gnutls; then
|
|
|
ea9550 |
have_ssl=1
|
|
|
ea9550 |
SSLLIBS=`$PKGCONFIG --libs gnutls`
|
|
|
ea9550 |
@@ -111,14 +110,6 @@ if test x$enable_ssl != xno; then
|
|
|
ea9550 |
if test $have_ssl = 1; then
|
|
|
ea9550 |
CUPS_SERVERCERT="ssl/server.crt"
|
|
|
ea9550 |
CUPS_SERVERKEY="ssl/server.key"
|
|
|
ea9550 |
-
|
|
|
ea9550 |
- if $PKGCONFIG --exists gcrypt; then
|
|
|
ea9550 |
- SSLLIBS="$SSLLIBS `$PKGCONFIG --libs gcrypt`"
|
|
|
ea9550 |
- SSLFLAGS="$SSLFLAGS `$PKGCONFIG --cflags gcrypt`"
|
|
|
ea9550 |
- elif test "x$LIBGCRYPTCONFIG" != x; then
|
|
|
ea9550 |
- SSLLIBS="$SSLLIBS `$LIBGCRYPTCONFIG --libs`"
|
|
|
ea9550 |
- SSLFLAGS="$SSLFLAGS `$LIBGCRYPTCONFIG --cflags`"
|
|
|
ea9550 |
- fi
|
|
|
ea9550 |
fi
|
|
|
ea9550 |
fi
|
|
|
ea9550 |
|
|
|
ea9550 |
diff -up cups-1.6.2/cups/http-private.h.no-gcry cups-1.6.2/cups/http-private.h
|
|
|
ea9550 |
--- cups-1.6.2/cups/http-private.h.no-gcry 2012-12-17 22:17:08.000000000 +0000
|
|
|
ea9550 |
+++ cups-1.6.2/cups/http-private.h 2013-06-26 17:26:41.468750449 +0100
|
|
|
ea9550 |
@@ -78,7 +78,6 @@ typedef int socklen_t;
|
|
|
ea9550 |
# elif defined HAVE_GNUTLS
|
|
|
ea9550 |
# include <gnutls/gnutls.h>
|
|
|
ea9550 |
# include <gnutls/x509.h>
|
|
|
ea9550 |
-# include <gcrypt.h>
|
|
|
ea9550 |
# elif defined(HAVE_CDSASSL)
|
|
|
ea9550 |
# include <CoreFoundation/CoreFoundation.h>
|
|
|
ea9550 |
# include <Security/Security.h>
|