diff options
author | Martijn van Duren <martijn@cvs.openbsd.org> | 2019-12-31 10:34:15 +0000 |
---|---|---|
committer | Martijn van Duren <martijn@cvs.openbsd.org> | 2019-12-31 10:34:15 +0000 |
commit | cc8181a28ba0221e9712f7fdb3676bdd74616ffd (patch) | |
tree | 321bcf061085c4413117ac6f6a013364543f94ba /lib/libutil/ber.h | |
parent | 4b6dbc6ecdb1b804f3c259738af09aedb7e1bb83 (diff) |
Increase BER_MAX_OID_LEN from 32 to 64. Not every snmp OID found in the
wild fits inside 32 elements, like UsmUserEntry objects.
OK rob@, claudio@
Diffstat (limited to 'lib/libutil/ber.h')
-rw-r--r-- | lib/libutil/ber.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/ber.h b/lib/libutil/ber.h index 37352a7473a..e89deb46c2b 100644 --- a/lib/libutil/ber.h +++ b/lib/libutil/ber.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ber.h,v 1.2 2019/10/24 12:39:26 tb Exp $ */ +/* $OpenBSD: ber.h,v 1.3 2019/12/31 10:34:14 martijn Exp $ */ /* * Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org> @@ -81,7 +81,7 @@ struct ber { /* common definitions */ #define BER_MIN_OID_LEN 2 /* OBJECT */ -#define BER_MAX_OID_LEN 32 /* OBJECT */ +#define BER_MAX_OID_LEN 64 /* OBJECT */ #define BER_MAX_SEQ_ELEMENTS USHRT_MAX /* 65535 */ struct ber_oid { |