summaryrefslogtreecommitdiff
path: root/include/linux/asn1.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-12-05 05:25:28 +0400
committerRusty Russell <rusty@rustcorp.com.au>2012-12-14 06:36:41 +0400
commitfacc0a6bd494ce21e31b34fc355ecf702518272b (patch)
treeaa15ebb9d41f6a7c5ffb75b030f0bd9cdb506d32 /include/linux/asn1.h
parent34182eea36fc1d70d748b0947c873314980ba806 (diff)
downloadlinux-facc0a6bd494ce21e31b34fc355ecf702518272b.tar.xz
ASN.1: Define indefinite length marker constant
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>
Diffstat (limited to 'include/linux/asn1.h')
-rw-r--r--include/linux/asn1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/asn1.h b/include/linux/asn1.h
index 5c3f4e4b9a23..eed6982860ba 100644
--- a/include/linux/asn1.h
+++ b/include/linux/asn1.h
@@ -64,4 +64,6 @@ enum asn1_tag {
ASN1_LONG_TAG = 31 /* Long form tag */
};
+#define ASN1_INDEFINITE_LENGTH 0x80
+
#endif /* _LINUX_ASN1_H */