mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix for crypto related failures to have a better error string.
This commit is contained in:
parent
6d1e61173b
commit
e1aeabde44
2 changed files with 5 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
28 March 2024: Wouter
|
28 March 2024: Wouter
|
||||||
- Fix #1034: DoT forward-zone via unbound-control.
|
- Fix #1034: DoT forward-zone via unbound-control.
|
||||||
|
- Fix for crypto related failures to have a better error string.
|
||||||
|
|
||||||
27 March 2024: Wouter
|
27 March 2024: Wouter
|
||||||
- Fix name of unit test for subnet cache response.
|
- Fix name of unit test for subnet cache response.
|
||||||
|
|
|
||||||
|
|
@ -1026,11 +1026,11 @@ static void log_crypto_err_io_code_arg(const char* str, int r,
|
||||||
} else {
|
} else {
|
||||||
if(print_errno) {
|
if(print_errno) {
|
||||||
if(errno == 0)
|
if(errno == 0)
|
||||||
log_err("str: syscall error with errno %s",
|
log_err("%s: syscall error with errno %s",
|
||||||
strerror(errno));
|
str, strerror(errno));
|
||||||
else log_err("str: %s", strerror(errno));
|
else log_err("%s: %s", str, strerror(errno));
|
||||||
} else {
|
} else {
|
||||||
log_err("str: %s", inf);
|
log_err("%s: %s", str, inf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue