From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 22 Jan 2021 08:15:01 +0000 (+0100)
Subject: Fix documented error code of host_to_hash()
X-Git-Tag: v_3_0_30~37
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/@default-cgi@show-url-info?a=commitdiff_plain;h=e1027d1e0c44440e654652cf5e24d24426fbf594;p=privoxy.git

Fix documented error code of host_to_hash()
---

diff --git a/openssl.c b/openssl.c
index d27f9187..15166dac 100644
--- a/openssl.c
+++ b/openssl.c
@@ -697,7 +697,7 @@ exit:
  * Parameters  :
  *          1  :  csp = Current client state (buffers, headers, etc...)
  *
- * Returns     :  1 => Error while creating hash
+ * Returns     : -1 => Error while creating hash
  *                0 => Hash created successfully
  *
  *********************************************************************/
diff --git a/ssl.c b/ssl.c
index f74f585c..4f187c24 100644
--- a/ssl.c
+++ b/ssl.c
@@ -1768,7 +1768,7 @@ static int ssl_verify_callback(void *csp_void, mbedtls_x509_crt *crt,
  * Parameters  :
  *          1  :  csp = Current client state (buffers, headers, etc...)
  *
- * Returns     :  1 => Error while creating hash
+ * Returns     : -1 => Error while creating hash
  *                0 => Hash created successfully
  *
  *********************************************************************/