projects
/
platform
/
upstream
/
libtasn1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86959b0
)
Support 'BIT STRING (SIZE(42))' constructs, suggested by Cyril Holweck
author
Simon Josefsson
<simon@josefsson.org>
Wed, 8 Mar 2006 13:16:53 +0000
(13:16 +0000)
committer
Simon Josefsson
<simon@josefsson.org>
Wed, 8 Mar 2006 13:16:53 +0000
(13:16 +0000)
<cyril.holweck@q-free.com>.
lib/ASN1.y
patch
|
blob
|
history
diff --git
a/lib/ASN1.y
b/lib/ASN1.y
index
4e93f90
..
258d340
100644
(file)
--- a/
lib/ASN1.y
+++ b/
lib/ASN1.y
@@
-257,6
+257,7
@@
bit_element_list : bit_element {$$=$1;}
;
bit_string_def : BIT STRING {$$=_asn1_add_node(TYPE_BIT_STRING);}
+ | BIT STRING size_def {$$=_asn1_add_node(TYPE_BIT_STRING|CONST_SIZE);}
| BIT STRING'{'bit_element_list'}'
{$$=_asn1_add_node(TYPE_BIT_STRING|CONST_LIST);
_asn1_set_down($$,$4);}