mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 14:53:15 -05:00
- Fix for #997: Print details for SSL certificate failure.
This commit is contained in:
parent
585d73bf7c
commit
1f46d5945b
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
22 January 2024: Wouter
|
||||
- Fix for #997: Print details for SSL certificate failure.
|
||||
|
||||
17 January 2024: Wouter
|
||||
- Update workflow for ports to use newer openssl on windows compile.
|
||||
- Fix warning for windres on resource files due to redefinition.
|
||||
|
|
|
|||
|
|
@ -1672,8 +1672,13 @@ ssl_handshake(struct comm_point* c)
|
|||
} else {
|
||||
unsigned long err = ERR_get_error();
|
||||
if(!squelch_err_ssl_handshake(err)) {
|
||||
long vr;
|
||||
log_crypto_err_io_code("ssl handshake failed",
|
||||
want, err);
|
||||
if((vr=SSL_get_verify_result(c->ssl)) != 0)
|
||||
log_err("ssl handshake cert error: %s",
|
||||
X509_verify_cert_error_string(
|
||||
vr));
|
||||
log_addr(VERB_OPS, "ssl handshake failed",
|
||||
&c->repinfo.remote_addr,
|
||||
c->repinfo.remote_addrlen);
|
||||
|
|
|
|||
Loading…
Reference in a new issue