aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2014-07-28 16:27:04 +0200
committerKamil Dudka <kdudka@redhat.com>2014-07-28 16:27:04 +0200
commit30b093f6fc728aabb70153e5c54d4199854ca8c4 (patch)
treedac99ba70c48c6f21ea858305524a1a05d98224a /lib/vtls
parentf3bd3deddd828be83dec05062d2d2b9099ce5790 (diff)
nss: do not check the version of NSS at run time
The minimal required version of NSS is 3.14.x so it does not make sense to check for NSS 3.12.0+ at run time.
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/nss.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c
index 1e12d3dc6..b2d7f6f9f 100644
--- a/lib/vtls/nss.c
+++ b/lib/vtls/nss.c
@@ -1030,8 +1030,7 @@ static CURLcode nss_init_core(struct SessionHandle *data, const char *cert_dir)
initparams.length = sizeof(initparams);
if(cert_dir) {
- const bool use_sql = NSS_VersionCheck("3.12.0");
- char *certpath = aprintf("%s%s", use_sql ? "sql:" : "", cert_dir);
+ char *certpath = aprintf("sql:%s", cert_dir);
if(!certpath)
return CURLE_OUT_OF_MEMORY;