[Privoxy-commits] [privoxy] 03/10: Fix documented error code of host_to_hash()

User Git git at git.privoxy.org
Fri Jan 22 13:31:18 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 e1027d1e0c44440e654652cf5e24d24426fbf594
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Fri Jan 22 09:15:01 2021 +0100

    Fix documented error code of host_to_hash()
---
 openssl.c | 2 +-
 ssl.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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
  *
  *********************************************************************/

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list