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 <[email protected]>

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)
 {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to