[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Richard Levitte levitte at openssl.org
Sat Nov 11 10:07:50 UTC 2017


The branch OpenSSL_1_0_2-stable has been updated
       via  179af540a48f3cd1b9bb981589f7ee220d4f8cd4 (commit)
      from  7718de6e0bbb58ac97f049c34702673e6b1339c3 (commit)


- Log -----------------------------------------------------------------
commit 179af540a48f3cd1b9bb981589f7ee220d4f8cd4
Author: Richard Levitte <levitte at openssl.org>
Date:   Fri Nov 10 13:26:10 2017 +0100

    ssltest.c: cb_ticket2 appears to not return a value when it "should"
    
    cb_ticket2() does an exit, and should therefore not need to return anything.
    Some compilers don't detect that, or don't care, and warn about a non-void
    function without a return statement.
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4713)

-----------------------------------------------------------------------

Summary of changes:
 ssl/ssltest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 2d6141c..6171ebc 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -554,6 +554,7 @@ static int cb_ticket2(SSL* s, unsigned char* key_name, unsigned char *iv, EVP_CI
 {
     fprintf(stderr, "ticket callback for SNI context should never be called\n");
     EXIT(1);
+    return 0;
 }
 #endif
 


More information about the openssl-commits mailing list