[Privoxy-commits] [privoxy] 02/02: ssl_send_certificate_error(): Remove a 'dead nested assignment'

User Git git at git.privoxy.org
Thu Aug 10 17:09:21 CEST 2023


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

git pushed a commit to branch master
in repository privoxy.

commit 1603ca22d9a21bc6f0a181994e6971fd62cd3697
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Wed Aug 9 06:58:56 2023 +0200

    ssl_send_certificate_error(): Remove a 'dead nested assignment'
---
 ssl_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ssl_common.c b/ssl_common.c
index 4cf72913..45f1e761 100644
--- a/ssl_common.c
+++ b/ssl_common.c
@@ -392,8 +392,8 @@ extern void ssl_send_certificate_error(struct client_state *csp)
    {
       if (cert->file_buf != NULL)
       {
-                                                       /* +1 for terminating null */
-         size_t base64_len = base64_len = 4 * ((strlen(cert->file_buf) + 2) / 3) + 1;
+                                           /* +1 for terminating null */
+         size_t base64_len = 4 * ((strlen(cert->file_buf) + 2) / 3) + 1;
          size_t olen = 0;
          char base64_buf[base64_len];
 

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


More information about the Privoxy-commits mailing list