From bb7aff6526e47ad42c61cc25a6108014cb1a84ce Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Mon, 4 Oct 2021 22:34:49 +0200 Subject: Added -a to ndpiReader for generating OPNsense configuration See https://github.com/ntop/opnsense --- src/lib/protocols/quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/protocols') diff --git a/src/lib/protocols/quic.c b/src/lib/protocols/quic.c index 43fcd0759..1a79de2b9 100644 --- a/src/lib/protocols/quic.c +++ b/src/lib/protocols/quic.c @@ -933,7 +933,7 @@ static uint8_t *decrypt_initial_packet(struct ndpi_detection_module_struct *ndpi uint8_t first_byte; uint32_t pkn32, pn_offset, pkn_len, offset; quic_ciphers ciphers; /* Client initial ciphers */ - quic_decrypt_result_t decryption = {0}; + quic_decrypt_result_t decryption = { 0, 0}; uint8_t client_secret[HASH_SHA2_256_LENGTH]; memset(&ciphers, '\0', sizeof(ciphers)); -- cgit v1.2.3