From 9a8dc640be989fd2358beaa8256fbe1eb95ecf66 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Tue, 24 Sep 2024 12:51:55 +0200 Subject: buffer lenghtt is now returned by ndpi_quick_encrypt() and ndpi_quick_deecrypt() --- src/include/ndpi_api.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 7e695cc32..ae1540dc6 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -2314,10 +2314,12 @@ extern "C" { char* ndpi_quick_encrypt(const char *cleartext_msg, u_int16_t cleartext_msg_len, + u_int16_t *encrypted_msg_len, u_char encrypt_key[64]); char* ndpi_quick_decrypt(const char *encrypted_msg, u_int16_t encrypted_msg_len, + u_int16_t *decrypted_msg_len, u_char decrypt_key[64]); /* ******************************* */ -- cgit v1.2.3