ASN.1: Define indefinite length marker constant
authorDavid Howells <dhowells@redhat.com>
Wed, 5 Dec 2012 01:25:28 +0000 (11:55 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 14 Dec 2012 02:36:41 +0000 (13:06 +1030)
Define a constant to hold the marker value seen in an indefinite-length
element.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/asn1.h

index 5c3f4e4..eed6982 100644 (file)
@@ -64,4 +64,6 @@ enum asn1_tag {
        ASN1_LONG_TAG   = 31    /* Long form tag */
 };
 
+#define ASN1_INDEFINITE_LENGTH 0x80
+
 #endif /* _LINUX_ASN1_H */