mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-07 10:27:44 +02:00
- Fix for #997: Print details for SSL certificate failure.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user