CVSROOT: /cvs Module name: src Changes by: r...@cvs.openbsd.org 2018/07/04 07:04:30
Modified files: usr.bin/ldap : ber.c usr.sbin/ldapd : ber.c usr.sbin/ypldap: ber.c usr.sbin/snmpd : ber.c Log message: Relocate the update of br_offs from ber_read() to ber_readbuf() so ber_getc() can call ber_readbuf() in all cases. This resolves a problem previously encountered with SNMPv3 authentication, simplifies the code, and completes a full synchronization of all ber instances. Proposed by claudio@. Problematic use case in snmpd tested by sthen@ and me. ldap(s) appear happy as well. looks good to claudio@