From 4c743b809c2143868c629389d060b0dd6157d1bf Mon Sep 17 00:00:00 2001 From: Juliana Fajardini Date: Tue, 14 Sep 2021 20:05:26 +0100 Subject: [PATCH] rust/applayer: add function for upgrading to TLS --- rust/src/applayer.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/src/applayer.rs b/rust/src/applayer.rs index 1a9a696d46..d5700268fe 100644 --- a/rust/src/applayer.rs +++ b/rust/src/applayer.rs @@ -377,6 +377,7 @@ extern { pp_min_depth: u16, pp_max_depth: u16) -> c_int; pub fn AppLayerProtoDetectConfProtoDetectionEnabled(ipproto: *const c_char, proto: *const c_char) -> c_int; pub fn AppLayerProtoDetectConfProtoDetectionEnabledDefault(ipproto: *const c_char, proto: *const c_char, default: bool) -> c_int; + pub fn AppLayerRequestProtocolTLSUpgrade(flow: *const Flow); } // Defined in app-layer-parser.h