projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a79d92
)
When logging that the certificate verifcation failed, mention the host
author
Fabian Keil
<fk@fabiankeil.de>
Wed, 26 Feb 2020 13:02:48 +0000
(14:02 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 28 Feb 2020 06:31:27 +0000
(07:31 +0100)
Sponsored by: Robert Klemme
ssl.c
patch
|
blob
|
history
diff --git
a/ssl.c
b/ssl.c
index
8d9a55a
..
c1a0661
100644
(file)
--- a/
ssl.c
+++ b/
ssl.c
@@
-820,8
+820,8
@@
extern int create_server_ssl_connection(struct client_state *csp)
/* Log the reason without the trailing new line */
log_error(LOG_LEVEL_ERROR,
- "
The X509 certificate verification
failed: %N",
- strlen(reason)-1, reason);
+ "
X509 certificate verification for %s
failed: %N",
+
csp->http->hostport,
strlen(reason)-1, reason);
ret = -1;
}
else