]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASN.1: Define indefinite length marker constant
authorDavid Howells <dhowells@redhat.com>
Mon, 22 Oct 2012 14:06:02 +0000 (15:06 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Oct 2012 01:17:58 +0000 (11:47 +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 5c3f4e4b9a239ceb01de3d5bc98b0534f28ea172..eed6982860ba3ceaef639436f6d2a5c6e6156188 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 */