=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ldap/Attic/ber.h,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/ldap/Attic/ber.h 2018/07/31 11:02:01 1.5 --- src/usr.bin/ldap/Attic/ber.h 2018/08/03 01:51:28 1.6 *************** *** 1,4 **** ! /* $OpenBSD: ber.h,v 1.5 2018/07/31 11:02:01 claudio Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter --- 1,4 ---- ! /* $OpenBSD: ber.h,v 1.6 2018/08/03 01:51:28 rob Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter *************** *** 75,82 **** #define BER_CLASS_MASK 0x3 /* common definitions */ ! #define BER_MIN_OID_LEN 2 /* OBJECT */ ! #define BER_MAX_OID_LEN 32 /* OBJECT */ struct ber_oid { u_int32_t bo_id[BER_MAX_OID_LEN + 1]; --- 75,83 ---- #define BER_CLASS_MASK 0x3 /* common definitions */ ! #define BER_MIN_OID_LEN 2 /* OBJECT */ ! #define BER_MAX_OID_LEN 32 /* OBJECT */ ! #define BER_MAX_SEQ_ELEMENTS USHRT_MAX /* 65535 */ struct ber_oid { u_int32_t bo_id[BER_MAX_OID_LEN + 1];