Commit 179af540 authored by Richard Levitte's avatar Richard Levitte
Browse files

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: default avatarTim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4713)
parent 7718de6e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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