Date: Sat, 9 Jan 2016 21:33:31 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r293615 - stable/9/contrib/bsnmp/lib Message-ID: <201601092133.u09LXVsU034009@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Jan 9 21:33:31 2016 New Revision: 293615 URL: https://svnweb.freebsd.org/changeset/base/293615 Log: MFstable/10 r276677: MFC r276319: Fix the function signatures when MK_CRYPT == no for snmp_get_local_keys and snmp_passwd_to_keys Modified: stable/9/contrib/bsnmp/lib/snmpcrypto.c Directory Properties: stable/9/ (props changed) stable/9/contrib/ (props changed) stable/9/contrib/bsnmp/ (props changed) Modified: stable/9/contrib/bsnmp/lib/snmpcrypto.c ============================================================================== --- stable/9/contrib/bsnmp/lib/snmpcrypto.c Sat Jan 9 21:28:56 2016 (r293614) +++ stable/9/contrib/bsnmp/lib/snmpcrypto.c Sat Jan 9 21:33:31 2016 (r293615) @@ -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?201601092133.u09LXVsU034009>