From: Ruben Kerkhof Date: Tue, 6 Jul 2021 08:22:36 +0000 (+0200) Subject: Remove DES support in snmp plugin X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1483ef8e03603bb8e1f89745325a17ba50fbbedf;p=thirdparty%2Fcollectd.git Remove DES support in snmp plugin Signed-off-by: Ruben Kerkhof --- diff --git a/src/snmp.c b/src/snmp.c index 39bbab66a..827d62eb7 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -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; }