[Privoxy-commits] [privoxy] 14/46: OpenSSL ssl_store_cert(): Fix a format specifier

User Git git at git.privoxy.org
Sun Feb 21 15:10:36 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 5431270d9fa4a0d862c86696eb8e9795bab8c933
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Feb 9 16:13:03 2021 +0100

    OpenSSL ssl_store_cert(): Fix a format specifier
---
 openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openssl.c b/openssl.c
index 8239e336..824b0d73 100644
--- a/openssl.c
+++ b/openssl.c
@@ -656,7 +656,7 @@ static int ssl_store_cert(struct client_state *csp, X509* crt)
    len = BIO_get_mem_data(bio, &bio_mem_data);
    if (len <= 0)
    {
-      log_error(LOG_LEVEL_ERROR, "BIO_get_mem_data() returned %d "
+      log_error(LOG_LEVEL_ERROR, "BIO_get_mem_data() returned %ld "
          "while gathering certificate information", len);
       ret = -1;
       goto exit;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list