mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Fix coverity nit in handshake_helper.c
There's no reason to wrap this call in TEST_true() if we're not checking the return value of TEST_true() -- all of the surrounding similar calls do not have the macro wrapping them. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4873)
This commit is contained in:
parent
b6306d8049
commit
88e09fe79b
@ -497,8 +497,8 @@ static int configure_handshake_ctx(SSL_CTX *server_ctx, SSL_CTX *server2_ctx,
|
||||
case TLSEXT_max_fragment_length_2048:
|
||||
case TLSEXT_max_fragment_length_4096:
|
||||
case TLSEXT_max_fragment_length_DISABLED:
|
||||
TEST_true(SSL_CTX_set_tlsext_max_fragment_length(
|
||||
client_ctx, extra->client.max_fragment_len_mode));
|
||||
SSL_CTX_set_tlsext_max_fragment_length(
|
||||
client_ctx, extra->client.max_fragment_len_mode);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user