Skip to content

Commit

Permalink
fix sslv2 version num
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart committed Sep 19, 2024
1 parent 4b03a22 commit 137587a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/s2n_fingerprint_ja4_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ int main(int argc, char **argv)
*# 0x0002 = SSL 2.0 = “s2”
*/
{ .bytes = { 0x03, 0x00 }, .version = S2N_SSLv3, .str = "s3" },
{ .bytes = { 0x02, 0x00 }, .version = S2N_SSLv2, .str = "s2" },
{ .bytes = { 0x00, 0x02 }, .version = S2N_SSLv2, .str = "s2" },
/* Bad values */
{ .bytes = { 0x01, 0x00 }, .version = 10, .str = "00" },
{ .bytes = { 0x00, 0x00 }, .version = 0, .str = "00" },
Expand Down
2 changes: 1 addition & 1 deletion tls/s2n_fingerprint_ja4.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const char *s2n_ja4_version_strings[] = {
*# 0x0002 = SSL 2.0 = “s2”
*/
[0x0300] = "s3",
[0x0200] = "s2",
[0x0002] = "s2",
};

/**
Expand Down

0 comments on commit 137587a

Please sign in to comment.