Fix documented error code of host_to_hash()
authorFabian Keil <fk@fabiankeil.de>
Fri, 22 Jan 2021 08:15:01 +0000 (09:15 +0100)
committerFabian Keil <fk@fabiankeil.de>
Fri, 22 Jan 2021 13:26:18 +0000 (14:26 +0100)
openssl.c
ssl.c

index d27f918..15166da 100644 (file)
--- 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 f74f585..4f187c2 100644 (file)
--- 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
  *
  *********************************************************************/