From 5431270d9fa4a0d862c86696eb8e9795bab8c933 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 9 Feb 2021 16:13:03 +0100 Subject: [PATCH] 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; -- 2.39.2