]> git.ipfire.org Git - thirdparty/suricata.git/commit
tls: Move tls-versions to rust
authorRichard McConnell <Richard_McConnell@rapid7.com>
Wed, 14 May 2025 15:54:00 +0000 (16:54 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 16 May 2025 19:33:54 +0000 (21:33 +0200)
commit912030cbf4cf9b7e0734b7b989b080a15e67282a
tree47a8c0105e07e530a8ee13713caf8aa036d789e6
parent6c1238b7bd0943054cf3eef1128ba1f02418238f
tls: Move tls-versions to rust

This commit is designed in preparation of enabling the handshake object
to log it's own contents rather than being done on the C side.
Moving the tls versions functionality to rust has a couple of uses:
1. Allows both rust and C side to use these fields
2. Moves more of the tls related logic to rust
3. C side can still use these values because of cbindgen
rust/src/lib.rs
rust/src/tls_version.rs [new file with mode: 0644]
src/app-layer-ssl.c
src/app-layer-ssl.h