From: Remi Gacogne Date: Fri, 3 Dec 2021 15:43:12 +0000 (+0100) Subject: libssl: Warn when async mode is requested but not supported X-Git-Tag: auth-4.7.0-alpha1~120^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afc997a6185857771bad561e9a964dd8c02e2254;p=thirdparty%2Fpdns.git libssl: Warn when async mode is requested but not supported --- diff --git a/pdns/libssl.cc b/pdns/libssl.cc index 6cc108288a..dfce1a02e9 100644 --- a/pdns/libssl.cc +++ b/pdns/libssl.cc @@ -767,11 +767,13 @@ std::unique_ptr libssl_init_server_context(const TLS } #endif -#ifdef SSL_MODE_ASYNC if (config.d_asyncMode) { +#ifdef SSL_MODE_ASYNC mode |= SSL_MODE_ASYNC; - } +#else + cerr<<"Warning: TLS async mode requested but not supported"<