Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple SSL backend using Network framework #2482

Merged
merged 11 commits into from Sep 29, 2020
6 changes: 6 additions & 0 deletions aconfigure
Expand Up @@ -5952,6 +5952,12 @@ case $target in
ac_os_objs="$ac_os_objs sock_qos_bsd.o"
;;
esac
# SSL
case $target in
*darwin*)
ac_os_objs="$ac_os_objs ssl_sock_apple.o"
;;
esac
# UUID
case $target in
*android*)
Expand Down
6 changes: 6 additions & 0 deletions aconfigure.ac
Expand Up @@ -487,6 +487,12 @@ case $target in
ac_os_objs="$ac_os_objs sock_qos_bsd.o"
;;
esac
# SSL
case $target in
*darwin*)
ac_os_objs="$ac_os_objs ssl_sock_apple.o"
;;
esac
# UUID
case $target in
*android*)
Expand Down
6 changes: 5 additions & 1 deletion pjlib/include/pj/config.h
Expand Up @@ -986,7 +986,11 @@
#define PJ_SSL_SOCK_IMP_NONE 0 /**< Disable SSL socket. */
#define PJ_SSL_SOCK_IMP_OPENSSL 1 /**< Using OpenSSL. */
#define PJ_SSL_SOCK_IMP_GNUTLS 2 /**< Using GnuTLS. */

#define PJ_SSL_SOCK_IMP_DARWIN 3 /**< Using Apple's Secure
Transport (deprecated in
MacOS 10.15 & iOS 13.0)*/
#define PJ_SSL_SOCK_IMP_APPLE 4 /**< Using Apple's Network
framework. */

/**
* Select which SSL socket implementation to use. Currently pjlib supports
Expand Down