diff options
author | ngie <ngie@FreeBSD.org> | 2014-12-27 20:58:01 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-12-27 20:58:01 +0000 |
commit | 8e415d9c272746db19fcf208bba1850bdb7c64a7 (patch) | |
tree | 01dff1c9f7f5fd28c8142671ef6b7fb060b6279f /contrib/bsnmp/lib | |
parent | ab56491924934324fdb899b4d45a5b34bb2228e6 (diff) | |
download | FreeBSD-src-8e415d9c272746db19fcf208bba1850bdb7c64a7.zip FreeBSD-src-8e415d9c272746db19fcf208bba1850bdb7c64a7.tar.gz |
Fix the function signatures when MK_CRYPT == no for snmp_get_local_keys and
snmp_passwd_to_keys
MFC after: 1 week
Reported by: Beeblebrox <zaphod@berentweb.com>
Diffstat (limited to 'contrib/bsnmp/lib')
-rw-r--r-- | contrib/bsnmp/lib/snmpcrypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bsnmp/lib/snmpcrypto.c b/contrib/bsnmp/lib/snmpcrypto.c index 3f36194..05860d6 100644 --- a/contrib/bsnmp/lib/snmpcrypto.c +++ b/contrib/bsnmp/lib/snmpcrypto.c @@ -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) { |