[Privoxy-commits] [privoxy] 14/15: OpenSSL generate_host_certificate(): Fix two error messsages

User Git git at git.privoxy.org
Mon Mar 15 14:44:02 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 81f1eb11450d376cdabf33683497ddbe50bd0497
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Mar 15 09:56:10 2021 +0100

    OpenSSL generate_host_certificate(): Fix two error messsages
---
 openssl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openssl.c b/openssl.c
index 8a9824ae..97cb62a4 100644
--- a/openssl.c
+++ b/openssl.c
@@ -1861,7 +1861,7 @@ static int generate_host_certificate(struct client_state *csp)
    subject_name = X509_NAME_new();
    if (!subject_name)
    {
-      log_ssl_errors(LOG_LEVEL_ERROR, "RSA key memory allocation failure");
+      log_ssl_errors(LOG_LEVEL_ERROR, "X509 memory allocation failure");
       ret = -1;
       goto exit;
    }
@@ -1898,7 +1898,7 @@ static int generate_host_certificate(struct client_state *csp)
    {
       log_ssl_errors(LOG_LEVEL_ERROR,
          "X509 subject name (code: %s, val: %s) error",
-         CERT_PARAM_COUNTRY_FCODE, csp->http->host);
+         CERT_PARAM_COUNTRY_FCODE, CERT_PARAM_COUNTRY_CODE);
       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