mirror of https://github.com/getdnsapi/getdns.git
LibreSSL like OpenSSL < 1.0.2
This commit is contained in:
parent
c28a293c9f
commit
0eba73a945
|
@ -441,6 +441,8 @@ AC_COMPILE_IFELSE(
|
|||
[#error "OpenSSL 1.0.0 or higher required for DANE library"]
|
||||
[#elif defined(HAVE_SSL_DANE_ENABLE)]
|
||||
[#error "OpenSSL has native DANE support"]
|
||||
[#elif defined(LIBRESSL_VERSION_NUMBER)]
|
||||
[#error "dane_ssl library does not work with LibreSSL"]
|
||||
[#endif]
|
||||
],[[]])],
|
||||
[
|
||||
|
|
|
@ -1227,6 +1227,7 @@ tls_do_handshake(getdns_upstream *upstream)
|
|||
&& !upstream->tls_fallback_ok)
|
||||
return STUB_SETUP_ERROR;
|
||||
}
|
||||
#endif /* defined(USE_DANESSL) || defined(HAVE_SSL_HN_AUTH) */
|
||||
DEBUG_STUB("%s %-35s: FD: %d Handshake succeeded with auth state %s. Session is %s.\n",
|
||||
STUB_DEBUG_SETUP_TLS, __FUNC__, upstream->fd,
|
||||
_getdns_auth_str(upstream->tls_auth_state),
|
||||
|
@ -1246,7 +1247,6 @@ tls_do_handshake(getdns_upstream *upstream)
|
|||
NULL, upstream_write_cb, NULL));
|
||||
return 0;
|
||||
}
|
||||
#endif /* defined(USE_DANESSL) || defined(HAVE_SSL_HN_AUTH) */
|
||||
|
||||
static int
|
||||
tls_connected(getdns_upstream* upstream)
|
||||
|
|
Loading…
Reference in New Issue