From 137587a7fa473ba54e1eadfa096446a5f1755577 Mon Sep 17 00:00:00 2001 From: Lindsay Stewart Date: Thu, 19 Sep 2024 00:26:17 -0700 Subject: [PATCH] fix sslv2 version num --- tests/unit/s2n_fingerprint_ja4_test.c | 2 +- tls/s2n_fingerprint_ja4.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/s2n_fingerprint_ja4_test.c b/tests/unit/s2n_fingerprint_ja4_test.c index 734591f23b3..df533fc3b13 100644 --- a/tests/unit/s2n_fingerprint_ja4_test.c +++ b/tests/unit/s2n_fingerprint_ja4_test.c @@ -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" }, diff --git a/tls/s2n_fingerprint_ja4.c b/tls/s2n_fingerprint_ja4.c index a027cc072a6..171e514a7d6 100644 --- a/tls/s2n_fingerprint_ja4.c +++ b/tls/s2n_fingerprint_ja4.c @@ -69,7 +69,7 @@ const char *s2n_ja4_version_strings[] = { *# 0x0002 = SSL 2.0 = “s2” */ [0x0300] = "s3", - [0x0200] = "s2", + [0x0002] = "s2", }; /**