Wireshark-dev: Re: [Wireshark-dev] SNMPv3 USM crypto support

From: Thomas Anders <thomas.anders@xxxxxxxxxxxxx>
Date: Tue, 09 Jan 2007 22:15:55 +0100
LEGO wrote:
> any warnings afterwards?

Plenty, but I'm not sure they're related:

packet-snmp-template.c: In function 'format_oid':
packet-snmp-template.c:427: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
packet-snmp-template.c: In function 'new_format_oid':
packet-snmp-template.c:492: warning: pointer targets in assignment differ in
signedness
packet-snmp-template.c: In function 'check_var_length':
packet-snmp-template.c:524: warning: pointer targets in assignment differ in
signedness
packet-snmp-template.c: In function 'format_var':
packet-snmp-template.c:546: warning: pointer targets in return differ in signedness
packet-snmp-template.c:628: warning: pointer targets in return differ in signedness
packet-snmp-template.c: In function 'snmp_variable_decode':
packet-snmp-template.c:852: warning: pointer targets in passing argument 7 of
'dissect_ber_integer' differ in signedness
packet-snmp-template.c: In function 'snmp_usm_auth_md5':
packet-snmp-template.c:1110: warning: assignment discards qualifiers from
pointer target type
packet-snmp-template.c:1118: warning: assignment discards qualifiers from
pointer target type
packet-snmp-template.c:1126: warning: assignment discards qualifiers from
pointer target type
packet-snmp-template.c: In function 'snmp_usm_auth_sha1':
packet-snmp-template.c:1151: warning: assignment discards qualifiers from
pointer target type
packet-snmp-template.c: In function 'snmp_usm_priv_des':
packet-snmp-template.c:1169: warning: ISO C90 forbids mixed declarations and code
packet-snmp-template.c:1176: warning: assignment discards qualifiers from
pointer target type
packet-snmp-template.c:1199: warning: assignment discards qualifiers from
pointer target type
packet-snmp-template.c:1241: warning: cast discards qualifiers from pointer
target type
packet-snmp-template.c: In function 'snmp_usm_priv_aes':
packet-snmp-template.c:1252: warning: assignment discards qualifiers from
pointer target type
snmp.cnf: In function 'dissect_snmp_SNMPv3Message':
snmp.cnf:265: warning: assignment discards qualifiers from pointer target type
snmp.cnf:268: warning: assignment discards qualifiers from pointer target type
packet-snmp-template.c: In function 'process_prefs':
packet-snmp-template.c:1688: warning: passing argument 1 of 'putenv' discards
qualifiers from pointer target type


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)