[Privoxy-commits] [privoxy] 23/26: Relocate CERT_INFO_PREFIX to ssl.c
User Git
git at git.privoxy.org
Mon Jan 18 13:32:31 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 f2be4cfb0e98db4cf6fcf33f3f1efadabe399887
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Jan 18 04:31:09 2021 +0100
Relocate CERT_INFO_PREFIX to ssl.c
The OpenSSL code doesn't use it.
---
ssl.c | 1 +
ssl_common.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/ssl.c b/ssl.c
index abc7df68..58bd222c 100644
--- a/ssl.c
+++ b/ssl.c
@@ -1740,6 +1740,7 @@ static int ssl_verify_callback(void *csp_void, mbedtls_x509_crt *crt,
{
char buf[CERT_INFO_BUF_SIZE];
char *encoded_text;
+#define CERT_INFO_PREFIX ""
mbedtls_x509_crt_info(buf, sizeof(buf), CERT_INFO_PREFIX, crt);
encoded_text = html_encode(buf);
diff --git a/ssl_common.h b/ssl_common.h
index 5075ca8e..bd5ce0b6 100644
--- a/ssl_common.h
+++ b/ssl_common.h
@@ -45,7 +45,6 @@
#define CERT_PARAM_COUNTRY_FCODE "C"
#define CERT_PARAM_COUNTRY_CODE "CZ"
#define CERT_SUBJECT_PASSWORD ""
-#define CERT_INFO_PREFIX ""
/*
* Properties of cert for generating
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list