ssl_send_certificate_error(): Remove a 'dead nested assignment'
authorFabian Keil <fk@fabiankeil.de>
Wed, 9 Aug 2023 04:58:56 +0000 (06:58 +0200)
committerFabian Keil <fk@fabiankeil.de>
Thu, 10 Aug 2023 15:09:22 +0000 (17:09 +0200)
ssl_common.c

index 4cf7291..45f1e76 100644 (file)
@@ -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];