aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_utils.c
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2024-01-10 08:59:32 +0100
committerIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-01-18 10:21:24 +0100
commitc669044a44ca2ade2f8fc9beb70747495fee5c21 (patch)
tree5d4997419b5d2104b69f4a64bcce659959284898 /src/lib/ndpi_utils.c
parent88720331ae6c68e99816ae3eee5f618fdddac02f (diff)
config: configure TLS certificate expiration with the new API
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r--src/lib/ndpi_utils.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c
index 3c37f7f5e..03b845c30 100644
--- a/src/lib/ndpi_utils.c
+++ b/src/lib/ndpi_utils.c
@@ -2800,14 +2800,6 @@ u_int8_t ndpi_is_encrypted_proto(struct ndpi_detection_module_struct *ndpi_str,
/* ******************************************* */
-void ndpi_set_tls_cert_expire_days(struct ndpi_detection_module_struct *ndpi_str,
- u_int8_t num_days) {
- if(ndpi_str)
- ndpi_str->tls_certificate_expire_in_x_days = num_days;
-}
-
-/* ******************************************* */
-
u_int32_t ndpi_get_flow_error_code(struct ndpi_flow_struct *flow) {
switch(flow->detected_protocol_stack[0] /* app_protocol */) {
case NDPI_PROTOCOL_DNS: