]> git.sur5r.net Git - openldap/blobdiff - libraries/liblber/lber-int.h
ITS#5010: OID encode/decode fixes and paranoia. #define LBER_OID_COMPONENT_MAX.
[openldap] / libraries / liblber / lber-int.h
index 9870f3bdda976d51d45b54102bb78522c4ebb2e9..24d0dac0929240e9097793d32c29b334fc439590 100644 (file)
@@ -120,6 +120,14 @@ struct seqorset {
 };
 
 
+/*
+ * decode.c, encode.c
+ */
+
+/* Simplest OID max-DER-component to implement in both decode and encode */
+#define LBER_OID_COMPONENT_MAX ((unsigned long)-1 - 128)
+
+
 /*
  * io.c
  */