On 2/9/2015 9:05 PM, Susan Hinrichs wrote:
On Feb 9, 2015, at 4:12 PM, shinr...@apache.org wrote:
[snip]
[snip]
+
# We are looking for SSL_CTX_set_tlsext_servername_callback, but
it's a
# macro, so AC_CHECK_FUNCS is not going to do the business.
AC_MSG_CHECKING([for SSL_CTX_set_tlsext_servername_callback])
@@ -122,3 +127,79 @@ AC_DEFUN([TS_CHECK_CRYPTO_SNI], [
TS_ARG_ENABLE_VAR([use], [tls-sni])
AC_SUBST(use_tls_sni)
])
+
+AC_DEFUN([TS_CHECK_CRYPTO_CERT_CB], [
SSL_CTX_set_cert_cb is a function, so you should just be able to use
AC_SEARCH_LIBS here ...
Cool. Still figuring out auto tools. Will try the AC_SEARCH_LIBS
Fought with AC_SEARCH_LIBS for a bit. Since I think the relative order
of the -lssl and -lcrypto libraries is important, the AC_SERACH_LIBS
tests were not working. So will still with AC_LINK_IFELSE for now.
[snip]
+
+AC_DEFUN([TS_CHECK_CRYPTO_SET_RBIO], [
+ _rbio_saved_LIBS=$LIBS
+ enable_set_rbio=yes
Can you explain this one to me? SSL_set_rbio is not an OpenSSL API
... is it planned for a future version?
Yes, this was just added to openssl master for 1.1. Added in
preparation for TS-3372.
thanks,
James