Module: monitoring-plugins Branch: check_snmp_fixes Commit: 3e656e64080ce3dbfadd7ea6533cd608cb3e1fda Author: Andreas Baumann <[email protected]> Date: Fri Jan 23 10:15:47 2026 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3e656e64
utils.h: undefine USE_OPENSSL to avoid clash with net-snmp redefitition --- plugins/utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/utils.h b/plugins/utils.h index 68ff1630..c1c921fb 100644 --- a/plugins/utils.h +++ b/plugins/utils.h @@ -13,6 +13,7 @@ in order to resist overflow attacks. In addition, a few functions are provided to standardize version and error reporting across the entire suite of plugins. */ +#undef USE_OPENSSL // net-snmp defines USE_OPENSSL as NETSNMP_USE_OPENSSL in net-snmp-config.h #include "../config.h" #include <stdbool.h> #include <stdint.h>
