[Privoxy-commits] [privoxy] 01/07: OpenSSL generate_host_certificate(): Use X509_get_subject_name()
User Git
git at git.privoxy.org
Sun Oct 2 09:48:22 CEST 2022
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit b574731be3564ad383b96642877ee66c7e7917fb
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Aug 9 08:31:25 2022 +0200
OpenSSL generate_host_certificate(): Use X509_get_subject_name()
... instead of X509_get_issuer_name() to get the issuer for generated
website certificates so there are no warnings in the browser when using
an intermediate CA certificate instead of a self-signed root certificate.
Problem reported and patch submitted by Chakib Benziane.
---
openssl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openssl.c b/openssl.c
index 685995f7..fca23106 100644
--- a/openssl.c
+++ b/openssl.c
@@ -1986,7 +1986,7 @@ static int generate_host_certificate(struct client_state *csp)
goto exit;
}
- issuer_name = X509_get_issuer_name(issuer_cert);
+ issuer_name = X509_get_subject_name(issuer_cert);
/*
* Loading keys from file or from buffer
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list