]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ci: fix and test with Wunused-macros 11253/head
authorPhilippe Antoine <pantoine@oisf.net>
Wed, 5 Jun 2024 09:48:54 +0000 (11:48 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 5 Jun 2024 16:00:37 +0000 (18:00 +0200)
Ticket: 6937

Completes ce9bfba76a785e6a02cbbe796a23be6c4e5bc553

configure.ac
src/app-layer-htp.c

index daad418208bc040033e7e760be4d539f73527223..5ae955d39739e72e26a11f66ec56f7d5c44616d4 100644 (file)
@@ -2263,7 +2263,7 @@ fi
     ])
     AC_SUBST(RUST_FEATURES)
 
-    AC_ARG_ENABLE(enable_warnings,
+    AC_ARG_ENABLE(warnings,
            AS_HELP_STRING([--enable-warnings], [Enable supported C compiler warnings]),[enable_warnings=$enableval],[enable_warnings=no])
     AS_IF([test "x$enable_warnings" = "xyes"], [
         # check if our compiler supports -Wunused-macros
index 3d8d17102874cbab233258ed090845f0c43b8733..03f49ff04064c362fb99e5465cd7b26f5f5552d1 100644 (file)
@@ -99,10 +99,6 @@ StreamingBufferConfig htp_sbcfg = STREAMING_BUFFER_CONFIG_INITIALIZER;
 /** Limit to the number of libhtp messages that can be handled */
 #define HTP_MAX_MESSAGES 512
 
-/** a boundary should be smaller in size */
-// RFC 2046 states that max boundary size is 70
-#define HTP_BOUNDARY_MAX 200U
-
 SC_ATOMIC_DECLARE(uint32_t, htp_config_flags);
 
 #ifdef DEBUG