From 1483ef8e03603bb8e1f89745325a17ba50fbbedf Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 6 Jul 2021 10:22:36 +0200 Subject: [PATCH] Remove DES support in snmp plugin Signed-off-by: Ruben Kerkhof --- src/snmp.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; } -- 2.47.2