projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6ba01a
)
ssl_store_cert(): Fix format specifiers in a log message
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 12:51:39 +0000
(14:51 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 14:35:40 +0000
(16:35 +0200)
openssl.c
patch
|
blob
|
history
diff --git
a/openssl.c
b/openssl.c
index
3cf65e5
..
56dc52a
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 than buffer len %d
",
+ "X509 PEM cert len %
ld is larger than buffer len %lu
",
len, sizeof(last->file_buf) - 1);
len = sizeof(last->file_buf) - 1;
}