From: Fabian Keil Date: Fri, 28 Aug 2020 08:42:02 +0000 (+0200) Subject: ssl_store_cert(): Fix format specifier and typo in an error message X-Git-Tag: v_3_0_29~197 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/copyright.html?a=commitdiff_plain;h=5d972b9163c3f0b1146a9c597d14e3a989f93b4f;p=privoxy.git ssl_store_cert(): Fix format specifier and typo in an error message Sponsored by: Robert Klemme --- diff --git a/openssl.c b/openssl.c index 61e96d3b..0005ed5f 100644 --- 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 then buffer len %s", + "X509 PEM cert len %d is larger than buffer len %d", len, sizeof(last->file_buf) - 1); len = sizeof(last->file_buf) - 1; }