mirror of
https://github.com/curl/curl.git
synced 2026-07-23 22:17:16 +03:00
nss: support using libnss on macOS
The file suffix for dynamically loadable objects on macOS is .dylib, which need to be added for the module definitions in order to get the NSS TLS backend to work properly on macOS. Closes https://github.com/curl/curl/pull/4046
This commit is contained in:
parent
6717102503
commit
24e92a71d5
1 changed files with 4 additions and 1 deletions
|
|
@ -223,9 +223,12 @@ static const cipher_s cipherlist[] = {
|
|||
#endif
|
||||
};
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32)
|
||||
static const char *pem_library = "nsspem.dll";
|
||||
static const char *trust_library = "nssckbi.dll";
|
||||
#elif defined(__APPLE__)
|
||||
static const char *pem_library = "libnsspem.dylib";
|
||||
static const char *trust_library = "libnssckbi.dylib";
|
||||
#else
|
||||
static const char *pem_library = "libnsspem.so";
|
||||
static const char *trust_library = "libnssckbi.so";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue