mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
nss: fix nssckbi module loading on Windows
- Use .DLL extension instead of .so to load modules on Windows. Bug: https://curl.haxx.se/mail/lib-2018-09/0077.html Reported-by: Maxime Legros Ref: https://github.com/curl/curl/pull/3016/#issuecomment-423069442 Closes https://github.com/curl/curl/pull/3086
This commit is contained in:
parent
f33312fe33
commit
dd6b62acc3
@ -217,10 +217,15 @@ static const cipher_s cipherlist[] = {
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
static const char *pem_library = "nsspem.dll";
|
||||||
|
static const char *trust_library = "nssckbi.dll";
|
||||||
|
#else
|
||||||
static const char *pem_library = "libnsspem.so";
|
static const char *pem_library = "libnsspem.so";
|
||||||
static SECMODModule *pem_module = NULL;
|
|
||||||
|
|
||||||
static const char *trust_library = "libnssckbi.so";
|
static const char *trust_library = "libnssckbi.so";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static SECMODModule *pem_module = NULL;
|
||||||
static SECMODModule *trust_module = NULL;
|
static SECMODModule *trust_module = NULL;
|
||||||
|
|
||||||
/* NSPR I/O layer we use to detect blocking direction during SSL handshake */
|
/* NSPR I/O layer we use to detect blocking direction during SSL handshake */
|
||||||
|
Loading…
Reference in New Issue
Block a user