]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Remove DES support in snmp plugin
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 6 Jul 2021 08:22:36 +0000 (10:22 +0200)
committerMatthias Runge <mrunge@matthias-runge.de>
Fri, 26 Nov 2021 15:37:29 +0000 (16:37 +0100)
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
src/snmp.c

index 39bbab66a57d73006c0800637cd9a026e73a003a..827d62eb7cba32b27cf9b016502385937727202b 100644 (file)
@@ -782,12 +782,8 @@ static int csnmp_config_add_host_priv_protocol(host_definition_t *hd,
   if (strcasecmp("AES", buffer) == 0) {
     hd->priv_protocol = usmAESPrivProtocol;
     hd->priv_protocol_len = sizeof(usmAESPrivProtocol) / sizeof(oid);
-  } else if (strcasecmp("DES", buffer) == 0) {
-    hd->priv_protocol = usmDESPrivProtocol;
-    hd->priv_protocol_len = sizeof(usmDESPrivProtocol) / sizeof(oid);
   } else {
-    WARNING("snmp plugin: The `PrivProtocol' config option must be `AES' or "
-            "`DES'.");
+    WARNING("snmp plugin: The `PrivProtocol' config option must be `AES'.");
     return -1;
   }