wireshark/epan/dissectors/asn1/snmp
j.novak@netsystem.cz c865975463 SNMP: Fix checking of SNMP v3 auth if MD5 method is used
When the user enters row to SNMP Users table in wireshark and Authentication model is set to MD5, row is ignored in processing. The reason is that constant for MD5 is 0, but the code checks if the value is defined by simple 'usm_p.user_assoc' condition. Therefore 0 never succeeds.
As item can have only listed values, I think the check can be removed.
Function verified on sample.

I propose to cherry pick the change to all stable branches.


(cherry picked from commit 7f376c7ced)
2020-12-13 16:47:38 +00:00
..
CMakeLists.txt
packet-snmp-template.c SNMP: Use BASE_SHOW_ASCII_PRINTABLE for octet strings 2020-10-10 13:28:06 +00:00
packet-snmp-template.h Implement service response time calculation for SNMP 2019-11-07 13:49:15 +00:00
snmp.asn SNMP: do not modify the ASN.1 source for request/response tracking 2019-11-07 18:40:25 +00:00
snmp.cnf SNMP: Fix checking of SNMP v3 auth if MD5 method is used 2020-12-13 16:47:38 +00:00