summaryrefslogtreecommitdiff
path: root/lib/libutil/ober_oid_cmp.3
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2019-12-31 10:34:15 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2019-12-31 10:34:15 +0000
commitcc8181a28ba0221e9712f7fdb3676bdd74616ffd (patch)
tree321bcf061085c4413117ac6f6a013364543f94ba /lib/libutil/ober_oid_cmp.3
parent4b6dbc6ecdb1b804f3c259738af09aedb7e1bb83 (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/ober_oid_cmp.3')
-rw-r--r--lib/libutil/ober_oid_cmp.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/ober_oid_cmp.3 b/lib/libutil/ober_oid_cmp.3
index 4e32432ba8e..391fbbcf462 100644
--- a/lib/libutil/ober_oid_cmp.3
+++ b/lib/libutil/ober_oid_cmp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ober_oid_cmp.3,v 1.1 2019/10/24 12:39:26 tb Exp $
+.\" $OpenBSD: ober_oid_cmp.3,v 1.2 2019/12/31 10:34:14 martijn Exp $
.\"
.\" Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 24 2019 $
+.Dd $Mdocdate: December 31 2019 $
.Dt OBER_OID_CMP 3
.Os
.Sh NAME
@@ -39,7 +39,7 @@ For internal representation of OIDs, the following structure
is being used:
.Bd -literal
#define BER_MIN_OID_LEN 2
-#define BER_MAX_OID_LEN 32
+#define BER_MAX_OID_LEN 64
struct ber_oid {
u_int32_t bo_id[BER_MAX_OID_LEN + 1];