aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-12-24 15:52:35 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2011-12-24 15:52:35 +0100
commit5513f3e56a45d4a227bfc7d01210fdded516458c (patch)
treef6198fa99ed85373870cb9a3e8dde452f8670ef0 /configure
parent200e151edbbcbb164e7fe2a01a28a0c1c9108972 (diff)
Fix compatibility with old GnuTLS versions, but with a warning. See
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1417 for details.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 8fd61af5..2f1b5046 100755
--- a/configure
+++ b/configure
@@ -282,6 +282,10 @@ EFLAGS+=`$PKG_CONFIG --libs gnutls` `libgcrypt-config --libs`
CFLAGS+=`$PKG_CONFIG --cflags gnutls` `libgcrypt-config --cflags`
EOF
ssl=gnutls
+ if ! pkg-config gnutls --atleast-version=2.8; then
+ echo
+ echo 'Warning: With GnuTLS versions <2.8, certificate expire dates are not verified.'
+ fi
ret=1
elif libgnutls-config --version > /dev/null 2> /dev/null; then
cat <<EOF>>Makefile.settings