summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2013-11-25 16:03:52 +0100
committerKamil Dudka <kdudka@redhat.com>2013-12-02 15:00:13 +0100
commit30e7e7552ba4397896ecac82ea04f38d52c4cc8f (patch)
treec03028c15ef7524af0080315f512600b51be87e7 /configure.ac
parentf58f843f66fa6ce7902867f5f24593aef5e56dd3 (diff)
downloadcurl-30e7e7552ba4397896ecac82ea04f38d52c4cc8f.tar.gz
nss: use a better API for controlling SSL version
This change introduces a dependency on NSS 3.14+.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1347cbdee..6a493fac2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2071,8 +2071,8 @@ if test "$curl_ssl_msg" = "$init_ssl_msg"; then
CPPFLAGS="$CPPFLAGS $addcflags"
fi
- dnl The function PK11_CreateGenericObject is needed to load libnsspem.so
- AC_CHECK_LIB(nss3, PK11_CreateGenericObject,
+ dnl The function SSL_VersionRangeSet() is needed to enable TLS > 1.0
+ AC_CHECK_LIB(nss3, SSL_VersionRangeSet,
[
AC_DEFINE(USE_NSS, 1, [if NSS is enabled])
AC_SUBST(USE_NSS, [1])