diff options
Diffstat (limited to 'lib/ssl/test/ssl_mfl_SUITE.erl')
-rw-r--r-- | lib/ssl/test/ssl_mfl_SUITE.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ssl/test/ssl_mfl_SUITE.erl b/lib/ssl/test/ssl_mfl_SUITE.erl index 3ad466590f..0cff561938 100644 --- a/lib/ssl/test/ssl_mfl_SUITE.erl +++ b/lib/ssl/test/ssl_mfl_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2019-2022. All Rights Reserved. +%% Copyright Ericsson AB 2019-2023. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ -behaviour(ct_suite). -include_lib("common_test/include/ct.hrl"). +-include("ssl_record.hrl"). %% Common test -export([all/0, @@ -107,11 +108,10 @@ client_option(Config) when is_list(Config) -> ok. %-------------------------------------------------------------------------------- -%% check max_fragment_length option on the server is ignored -%% and both sides can successfully send > 512 bytes +%% check default max_fragment_length both sides can successfully send > 512 bytes server_option(Config) when is_list(Config) -> Data = "mfl_server_options " ++ lists:duplicate(512, $x), - run_mfl_handshake(Config, undefined, Data, [], [{max_fragment_length, 512}]). + run_mfl_handshake(Config, undefined, Data, [], []). %-------------------------------------------------------------------------------- %% check max_fragment_length option on the client is accepted and reused @@ -187,7 +187,7 @@ run_mfl_handshake_continue(Config, MFL) -> receive {Client, {ext, ClientExt}} -> ct:log("Client handshake Ext ~p~n", [ClientExt]), case maps:get(server_hello_selected_version, ClientExt, undefined) of - {3,4} -> + ?TLS_1_3 -> %% For TLS 1.3 the ssl {handshake, hello} API is inconsistent: %% the server gets all the extensions CH+EE, but the client only CH ignore; |