From 5f78f67e39f23cea4aba29ee3c74a8381cc78814 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Wed, 1 Nov 2023 14:20:52 +0100 Subject: [PATCH] - Fix SSL compile failure for other missing definitions in log_crypto_err_io_code_arg. --- doc/Changelog | 2 ++ util/net_help.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/doc/Changelog b/doc/Changelog index 28dcdf01a..9a3c093a9 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -4,6 +4,8 @@ 1 November 2023: Wouter - Fix SSL compile failure for definition in log_crypto_err_io_code_arg. + - Fix SSL compile failure for other missing definitions in + log_crypto_err_io_code_arg. 31 October 2023: George - Fix #941: dnscrypt doesn't work after upgrade to 1.18 with diff --git a/util/net_help.c b/util/net_help.c index bbb75ebd7..e5b485c1c 100644 --- a/util/net_help.c +++ b/util/net_help.c @@ -982,12 +982,16 @@ static void log_crypto_err_io_code_arg(const char* str, int r, case SSL_ERROR_WANT_X509_LOOKUP: inf = "want X509 lookup"; break; +#ifdef SSL_ERROR_WANT_ASYNC case SSL_ERROR_WANT_ASYNC: inf = "want async"; break; +#endif +#ifdef SSL_ERROR_WANT_ASYNC_JOB case SSL_ERROR_WANT_ASYNC_JOB: inf = "want async job"; break; +#endif #ifdef SSL_ERROR_WANT_CLIENT_HELLO_CB case SSL_ERROR_WANT_CLIENT_HELLO_CB: inf = "want client hello cb"; -- 2.47.2