Date: Sat, 27 Dec 2014 20:58:02 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276319 - head/contrib/bsnmp/lib Message-ID: <201412272058.sBRKw2s7099180@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Dec 27 20:58:01 2014 New Revision: 276319 URL: https://svnweb.freebsd.org/changeset/base/276319 Log: 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> Modified: head/contrib/bsnmp/lib/snmpcrypto.c Modified: head/contrib/bsnmp/lib/snmpcrypto.c ============================================================================== --- head/contrib/bsnmp/lib/snmpcrypto.c Sat Dec 27 20:48:36 2014 (r276318) +++ head/contrib/bsnmp/lib/snmpcrypto.c Sat Dec 27 20:58:01 2014 (r276319) @@ -366,7 +366,7 @@ snmp_pdu_decrypt(const struct snmp_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 *us return (SNMP_CODE_FAILED); } -int +enum snmp_code snmp_get_local_keys(struct snmp_user *user, uint8_t *eid __unused, uint32_t elen __unused) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412272058.sBRKw2s7099180>