Skip to content

Commit

Permalink
fixup! ssl: Remove compress handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dgud committed Jul 3, 2023
1 parent 93ef79d commit 86bab0f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/ssl/test/property_test/ssl_eqc_handshake.erl
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,13 @@ client_hello(?TLS_1_3 = Version) ->
#client_hello{session_id = session_id(),
client_version = ?TLS_1_2,
cipher_suites = cipher_suites(Version),
compression_methods = compressions(Version),
random = client_random(Version),
extensions = client_hello_extensions(Version)
};
client_hello(Version) ->
#client_hello{session_id = session_id(),
client_version = Version,
cipher_suites = cipher_suites(Version),
compression_methods = compressions(Version),
random = client_random(Version),
extensions = client_hello_extensions(Version)
}.
Expand All @@ -135,15 +133,13 @@ server_hello(?TLS_1_3 = Version) ->
session_id = session_id(),
random = server_random(Version),
cipher_suite = cipher_suite(Version),
compression_method = compression(Version),
extensions = server_hello_extensions(Version)
};
server_hello(Version) ->
#server_hello{server_version = Version,
session_id = session_id(),
random = server_random(Version),
cipher_suite = cipher_suite(Version),
compression_method = compression(Version),
extensions = server_hello_extensions(Version)
}.

Expand Down Expand Up @@ -204,12 +200,6 @@ cipher_suites(Version) ->

session_id() ->
crypto:strong_rand_bytes(?NUM_OF_SESSION_ID_BYTES).

compression(Version) ->
oneof(compressions(Version)).

compressions(_) ->
ssl_record:compressions().

client_random(_) ->
crypto:strong_rand_bytes(32).
Expand Down

0 comments on commit 86bab0f

Please sign in to comment.