mirror of
https://github.com/curl/curl.git
synced 2026-07-23 12:27:19 +03:00
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.
This commit is contained in:
parent
f3bd3deddd
commit
30b093f6fc
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue