mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 04:12:51 +00:00
MFC r276319:
Fix the function signatures when MK_CRYPT == no for snmp_get_local_keys and snmp_passwd_to_keys Reported by: Beeblebrox <zaphod@berentweb.com>
This commit is contained in:
parent
a352b064cd
commit
dd3a325e86
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=276677
@ -366,7 +366,7 @@ snmp_pdu_decrypt(const struct snmp_pdu *pdu)
|
||||
return (SNMP_CODE_OK);
|
||||
}
|
||||
|
||||
int
|
||||
enum snmp_code
|
||||
snmp_passwd_to_keys(struct snmp_user *user, char *passwd __unused)
|
||||
{
|
||||
if (user->auth_proto == SNMP_AUTH_NOAUTH &&
|
||||
@ -378,7 +378,7 @@ snmp_passwd_to_keys(struct snmp_user *user, char *passwd __unused)
|
||||
return (SNMP_CODE_FAILED);
|
||||
}
|
||||
|
||||
int
|
||||
enum snmp_code
|
||||
snmp_get_local_keys(struct snmp_user *user, uint8_t *eid __unused,
|
||||
uint32_t elen __unused)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user