(OctetStringType): add SIZE to OCTET STRING.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21454 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -453,10 +453,12 @@ ObjectIdentifierType: kw_OBJECT kw_IDENTIFIER
|
||||
TE_EXPLICIT, new_type(TOID));
|
||||
}
|
||||
;
|
||||
OctetStringType : kw_OCTET kw_STRING
|
||||
OctetStringType : kw_OCTET kw_STRING size
|
||||
{
|
||||
$$ = new_tag(ASN1_C_UNIV, UT_OctetString,
|
||||
TE_EXPLICIT, new_type(TOctetString));
|
||||
Type *t = new_type(TOctetString);
|
||||
t->range = $3;
|
||||
$$ = new_tag(ASN1_C_UNIV, UT_OctetString,
|
||||
TE_EXPLICIT, t);
|
||||
}
|
||||
;
|
||||
|
||||
|
Reference in New Issue
Block a user