ssl_send_certificate_error(): Cast ssl_send_data() return code to void
authorFabian Keil <fk@fabiankeil.de>
Tue, 10 Nov 2020 10:54:55 +0000 (11:54 +0100)
committerFabian Keil <fk@fabiankeil.de>
Wed, 18 Nov 2020 11:01:49 +0000 (12:01 +0100)
... to silence CID 305232.

ssl_common.c

index c7bd538..41f0575 100644 (file)
@@ -407,7 +407,7 @@ extern void ssl_send_certificate_error(struct client_state *csp)
    /*
     * Sending final message to client
     */
-   ssl_send_data(ssl_attr, (const unsigned char *)message, strlen(message));
+   (void)ssl_send_data(ssl_attr, (const unsigned char *)message, strlen(message));
 
    free_certificate_chain(csp);