|
Secure Transport is deprecated. Let's reimplement the macOS TLS layer with the Network framework.
Original description:
The PHP driver is now using libmongoc 1.11.0, which introduced the following warning regarding SSLSetTrustedRoots:
/Users/katherinewalker/drivers/driver-mongo-php/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-transport.c:427:18: warning:
|
'SSLSetTrustedRoots' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
|
success = !SSLSetTrustedRoots (
|
^
|
/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1030:1: note: 'SSLSetTrustedRoots' has been explicitly marked
|
deprecated here
|
SSLSetTrustedRoots (SSLContextRef context,
|
^
|
|