summaryrefslogtreecommitdiff
path: root/lib/ssl/test/property_test
diff options
context:
space:
mode:
authorKiko Fernandez-Reyes <kiko@erlang.org>2023-04-03 15:29:59 +0200
committerKiko Fernandez-Reyes <kiko@erlang.org>2023-04-03 15:29:59 +0200
commit8d3f148b53a53cdc7bc23509dfdcb68cc28cbba3 (patch)
tree0a8529f4e45b25e1eab79e9b49e3f128d0983e63 /lib/ssl/test/property_test
parent4aa2cf5288276602efa43d8244e8f55a816f0c04 (diff)
downloaderlang-8d3f148b53a53cdc7bc23509dfdcb68cc28cbba3.tar.gz
ssl: replace macro name
Diffstat (limited to 'lib/ssl/test/property_test')
-rw-r--r--lib/ssl/test/property_test/ssl_eqc_handshake.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ssl/test/property_test/ssl_eqc_handshake.erl b/lib/ssl/test/property_test/ssl_eqc_handshake.erl
index ddc42af5f9..230a676579 100644
--- a/lib/ssl/test/property_test/ssl_eqc_handshake.erl
+++ b/lib/ssl/test/property_test/ssl_eqc_handshake.erl
@@ -642,12 +642,12 @@ signature_algs(?TLS_1_3) ->
Algs);
signature_algs(?TLS_1_2 = Version) ->
#hash_sign_algos{hash_sign_algos = hash_alg_list(Version)};
-signature_algs(Version) when ?TLS_L(Version, ?TLS_1_2) ->
+signature_algs(Version) when ?TLS_LT(Version, ?TLS_1_2) ->
undefined.
-hashsign_algorithms(Version) when ?TLS_GE(Version, ?TLS_1_2) ->
+hashsign_algorithms(Version) when ?TLS_GTE(Version, ?TLS_1_2) ->
#hash_sign_algos{hash_sign_algos = hash_alg_list(Version)};
hashsign_algorithms(_) ->
undefined.
@@ -715,12 +715,12 @@ ec_point_formats() ->
ec_point_format_list() ->
[?ECPOINT_UNCOMPRESSED].
-elliptic_curves(Version) when ?TLS_L(Version, ?TLS_1_3) ->
+elliptic_curves(Version) when ?TLS_LT(Version, ?TLS_1_3) ->
Curves = tls_v1:ecc_curves(Version),
#elliptic_curves{elliptic_curve_list = Curves}.
%% RFC 8446 (TLS 1.3) renamed the "elliptic_curve" extension.
-supported_groups(Version) when ?TLS_GE(Version, ?TLS_1_3) ->
+supported_groups(Version) when ?TLS_GTE(Version, ?TLS_1_3) ->
SupportedGroups = tls_v1:groups(),
#supported_groups{supported_groups = SupportedGroups}.