summaryrefslogtreecommitdiff
path: root/include/linux/asn1.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-12-05 11:55:28 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-12-14 13:06:41 +1030
commitfacc0a6bd494ce21e31b34fc355ecf702518272b (patch)
treeaa15ebb9d41f6a7c5ffb75b030f0bd9cdb506d32 /include/linux/asn1.h
parent34182eea36fc1d70d748b0947c873314980ba806 (diff)
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 */