Differences From Artifact [c8578d1d44]:
- File configure.ac — part of check-in [d2992a3fd3] at 2022-03-24 17:30:19 on branch trunk — Enable TLS via OpenSSL on MorphOS (user: js, size: 54057) [annotate] [blame] [check-ins using]
To Artifact [891ebbfd0d]:
- File
configure.ac
— part of check-in
[9654e02ae0]
at
2022-03-24 17:54:44
on branch trunk
— Use -lssl_shared -lcrypto_shared on MorphOS
This uses openssl3.library instead so that security issues in OpenSSL
can be fixed without recompiling everything. (user: js, size: 54197) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
1585 1586 1587 1588 1589 1590 1591 | LIBS="$old_LIBS" ]) ]) AS_IF([test x"$with_tls" = x"openssl" \ -o \( x"$with_tls" = x"yes" -a x"$tls_support" = x"no" \)], [ | > > > > > > > > > > > | | | | 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 | LIBS="$old_LIBS" ]) ]) AS_IF([test x"$with_tls" = x"openssl" \ -o \( x"$with_tls" = x"yes" -a x"$tls_support" = x"no" \)], [ case "$host_os" in morphos*) ssl="ssl_shared" crypto="crypto_shared" ;; *) ssl="ssl" crypto="crypto" ;; esac AC_CHECK_LIB($ssl, SSL_set1_host, [ AC_CHECK_HEADER(openssl/ssl.h, [ AC_DEFINE(HAVE_OPENSSL, 1, [Whether we have OpenSSL]) tls_support="OpenSSL" TLS_LIBS="-l$ssl -l$crypto $TLS_LIBS" AC_SUBST(OF_OPENSSL_TLS_STREAM_M, "OFOpenSSLTLSStream.m") ]) ], [], [-l$crypto]) ]) AS_IF([test x"$with_tls" = x"gnutls" \ -o \( x"$with_tls" = x"yes" -a x"$tls_support" = x"no" \)], [ PKG_CHECK_MODULES(gnutls, [gnutls >= 3.5.0], [ AC_DEFINE(HAVE_GNUTLS, 1, [Whether we have GnuTLS]) |
︙ | ︙ |