[Privoxy-commits] [privoxy] 02/19: MbedTLS: Include the error code in an error message that already contained the string representation

User Git git at git.privoxy.org
Thu Jun 11 08:29:06 CEST 2026


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 3e23bdb9c984c92e90b7808463bf876d8c2adef1
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Apr 12 18:05:24 2026 +0200

    MbedTLS: Include the error code in an error message that already contained the string representation
---
 ssl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ssl.c b/ssl.c
index 703945ac..33591e17 100644
--- a/ssl.c
+++ b/ssl.c
@@ -219,8 +219,8 @@ extern int ssl_recv_data(struct ssl_attr *ssl_attr, unsigned char *buf, size_t m
       }
       mbedtls_strerror(ret, err_buf, sizeof(err_buf));
       log_error(LOG_LEVEL_ERROR,
-         "Receiving data on socket %d over TLS failed: %s",
-         ssl_attr->mbedtls_attr.socket_fd.fd, err_buf);
+         "Receiving data on socket %d over TLS failed (%d): %s",
+         ssl_attr->mbedtls_attr.socket_fd.fd, ret, err_buf);
 
       return -1;
    }

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


More information about the Privoxy-commits mailing list