Warning fix
This commit is contained in:
@@ -16,10 +16,6 @@
|
||||
* You should have received a copy of the GNU Lesser General Public License.
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Based on code of:
|
||||
* Andrea Buscarinu - <andrea.buscarinu@gmail.com>
|
||||
* Michele Campus - <campus@ntop.org>
|
||||
*
|
||||
*/
|
||||
|
||||
#if defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__
|
||||
@@ -44,7 +40,7 @@
|
||||
* https://docs.google.com/document/d/1FcpCJGTDEMblAs-Bm5TYuqhHyUqeWpqrItw2vkMFsdY/edit
|
||||
* https://tools.ietf.org/html/draft-ietf-quic-tls-29
|
||||
* https://tools.ietf.org/html/draft-ietf-quic-transport-29
|
||||
*/
|
||||
*/
|
||||
|
||||
extern int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
struct ndpi_flow_struct *flow, int is_quic);
|
||||
@@ -930,7 +926,7 @@ static const uint8_t *get_crypto_data(struct ndpi_detection_module_struct *ndpi_
|
||||
|
||||
if(*crypto_data_len + counter > clear_payload_len) {
|
||||
NDPI_LOG_ERR(ndpi_struct, "Invalid length %lu + %d > %d version 0x%x\n",
|
||||
*crypto_data_len, counter, clear_payload_len, version);
|
||||
(unsigned long)*crypto_data_len, counter, clear_payload_len, version);
|
||||
return NULL;
|
||||
}
|
||||
return crypto_data;
|
||||
|
||||
Reference in New Issue
Block a user