projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08a9e63
)
Relocate CERT_INFO_PREFIX to ssl.c
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 18 Jan 2021 03:31:09 +0000
(
04:31
+0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 18 Jan 2021 13:30:39 +0000
(14:30 +0100)
The OpenSSL code doesn't use it.
ssl.c
patch
|
blob
|
history
ssl_common.h
patch
|
blob
|
history
diff --git
a/ssl.c
b/ssl.c
index
abc7df6
..
58bd222
100644
(file)
--- 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
5075ca8
..
bd5ce0b
100644
(file)
--- 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