]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix SSL compile failure for other missing definitions in
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 1 Nov 2023 13:20:52 +0000 (14:20 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 1 Nov 2023 13:20:52 +0000 (14:20 +0100)
  log_crypto_err_io_code_arg.

doc/Changelog
util/net_help.c

index 28dcdf01a4d72fa44162bfe7109d820afbe6be93..9a3c093a9ce0e8d4f7211ffdfd8ee89f9728d0fe 100644 (file)
@@ -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
index bbb75ebd711cd7dca0ffd86d0855e71408ff815e..e5b485c1c7863ea6be4031726c47abe1ff2fd8fb 100644 (file)
@@ -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";