projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c1681
)
ssl_store_cert(): Fix format specifier and typo in an error message
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 28 Aug 2020 08:42:02 +0000
(10:42 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Tue, 1 Sep 2020 10:22:42 +0000
(12:22 +0200)
Sponsored by: Robert Klemme
openssl.c
patch
|
blob
|
history
diff --git
a/openssl.c
b/openssl.c
index
61e96d3
..
0005ed5
100644
(file)
--- a/
openssl.c
+++ b/
openssl.c
@@
-301,7
+301,7
@@
static int ssl_store_cert(struct client_state *csp, X509* crt)
if (len > (sizeof(last->file_buf) - 1))
{
log_error(LOG_LEVEL_ERROR,
- "X509 PEM cert len %d is larger th
en buffer len %s
",
+ "X509 PEM cert len %d is larger th
an buffer len %d
",
len, sizeof(last->file_buf) - 1);
len = sizeof(last->file_buf) - 1;
}