Skip to content
Snippets Groups Projects
Commit c7d939da authored by Lev Walkin's avatar Lev Walkin
Browse files

string value compatibility

parent a7247f9a
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
* Added extra const qualifiers into the support code.
* More RFC variations supported in crfc2asn1.pl.
* Refined string values compatibility. (Test cases 77, 78).
0.9.12: 2005-Mar-10
......
This diff is collapsed.
......@@ -1088,12 +1088,6 @@ TypeDeclaration:
BasicType {
$$ = $1;
}
| BasicString {
$$ = asn1p_expr_new(yylineno);
checkmem($$);
$$->expr_type = $1;
$$->meta_type = AMT_TYPE;
}
| TOK_CHOICE '{' AlternativeTypeLists '}' {
$$ = $3;
assert($$->expr_type == A1TC_INVALID);
......@@ -1429,6 +1423,7 @@ BasicTypeId:
| TOK_CHARACTER TOK_STRING { $$ = ASN_BASIC_CHARACTER_STRING; }
| TOK_UTCTime { $$ = ASN_BASIC_UTCTime; }
| TOK_GeneralizedTime { $$ = ASN_BASIC_GeneralizedTime; }
| BasicString { $$ = $1; }
;
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment