svn commit: r276677 - stable/10/contrib/bsnmp/lib
Garrett Cooper
ngie at FreeBSD.org
Mon Jan 5 00:12:49 UTC 2015
Author: ngie
Date: Mon Jan 5 00:12:47 2015
New Revision: 276677
URL: https://svnweb.freebsd.org/changeset/base/276677
Log:
MFC r276319:
Fix the function signatures when MK_CRYPT == no for snmp_get_local_keys and
snmp_passwd_to_keys
Reported by: Beeblebrox <zaphod at berentweb.com>
Modified:
stable/10/contrib/bsnmp/lib/snmpcrypto.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/contrib/bsnmp/lib/snmpcrypto.c
==============================================================================
--- stable/10/contrib/bsnmp/lib/snmpcrypto.c Mon Jan 5 00:11:20 2015 (r276676)
+++ stable/10/contrib/bsnmp/lib/snmpcrypto.c Mon Jan 5 00:12:47 2015 (r276677)
@@ -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)
{
More information about the svn-src-stable
mailing list