File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export function toJA4(bytes) {
44
44
the TLS version is the value of the Protocol Version. Handshake version (located at the top of the packet)
45
45
should be ignored.
46
46
*/
47
- let version = tlsr . version . value ;
47
+ let version = tlsr . handshake . value . helloVersion . value ;
48
48
for ( const ext of tlsr . handshake . value . extensions . value ) {
49
49
if ( ext . type . value === "supported_versions" ) {
50
50
version = parseHighestSupportedVersion ( ext . value . data ) ;
@@ -189,7 +189,7 @@ export function toJA4S(bytes) {
189
189
the TLS version is the value of the Protocol Version. Handshake version (located at the top of the packet)
190
190
should be ignored.
191
191
*/
192
- let version = tlsr . version . value ;
192
+ let version = tlsr . handshake . value . helloVersion . value ;
193
193
for ( const ext of tlsr . handshake . value . extensions . value ) {
194
194
if ( ext . type . value === "supported_versions" ) {
195
195
version = parseHighestSupportedVersion ( ext . value . data ) ;
You can’t perform that action at this time.
0 commit comments