提交 88e09fe7 编写于 作者: B Benjamin Kaduk 提交者: Ben Kaduk

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: NMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4873)
上级 b6306d80
...@@ -497,8 +497,8 @@ static int configure_handshake_ctx(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, ...@@ -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_2048:
case TLSEXT_max_fragment_length_4096: case TLSEXT_max_fragment_length_4096:
case TLSEXT_max_fragment_length_DISABLED: case TLSEXT_max_fragment_length_DISABLED:
TEST_true(SSL_CTX_set_tlsext_max_fragment_length( SSL_CTX_set_tlsext_max_fragment_length(
client_ctx, extra->client.max_fragment_len_mode)); client_ctx, extra->client.max_fragment_len_mode);
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部