- Fix SSL compile failure for definition in log_crypto_err_io_code_arg.

This commit is contained in:
W.C.A. Wijngaards 2023-11-01 14:14:02 +01:00
parent 8914e9fd03
commit b1d99bb6b6
2 changed files with 5 additions and 0 deletions

View file

@ -2,6 +2,9 @@
- Mention flex and bison in README.md when building from repository - Mention flex and bison in README.md when building from repository
source. source.
1 November 2023: Wouter
- Fix SSL compile failure for definition in log_crypto_err_io_code_arg.
31 October 2023: George 31 October 2023: George
- Fix #941: dnscrypt doesn't work after upgrade to 1.18 with - Fix #941: dnscrypt doesn't work after upgrade to 1.18 with
suggestion by dukeartem to also fix the udp_ancil with dnscrypt. suggestion by dukeartem to also fix the udp_ancil with dnscrypt.

View file

@ -988,9 +988,11 @@ static void log_crypto_err_io_code_arg(const char* str, int r,
case SSL_ERROR_WANT_ASYNC_JOB: case SSL_ERROR_WANT_ASYNC_JOB:
inf = "want async job"; inf = "want async job";
break; break;
#ifdef SSL_ERROR_WANT_CLIENT_HELLO_CB
case SSL_ERROR_WANT_CLIENT_HELLO_CB: case SSL_ERROR_WANT_CLIENT_HELLO_CB:
inf = "want client hello cb"; inf = "want client hello cb";
break; break;
#endif
case SSL_ERROR_SYSCALL: case SSL_ERROR_SYSCALL:
print_errno = 1; print_errno = 1;
inf = "syscall"; inf = "syscall";