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

new twists

parent cc1f8f46
No related branches found
No related tags found
No related merge requests found
...@@ -242,7 +242,7 @@ compare_with_data_out(const char *fname, char *buf, int size) { ...@@ -242,7 +242,7 @@ compare_with_data_out(const char *fname, char *buf, int size) {
mustfail = lastChar == 'P'; mustfail = lastChar == 'P';
compare = lastChar != 'C'; compare = lastChar != 'C';
if(compare && getenv("REGENERATE")) { if((compare && !mustfail) && getenv("REGENERATE")) {
f = fopen(outName, "w"); f = fopen(outName, "w");
fwrite(buf, 1, size, f); fwrite(buf, 1, size, f);
fclose(f); fclose(f);
......
No preview for this file type
/* /*
* Copyright (c) 2003, 2004, 2005, 2006 Lev Walkin <vlm@lionet.info>. * Copyright (c) 2003, 2004, 2005, 2006, 2007 Lev Walkin <vlm@lionet.info>.
* All rights reserved. * All rights reserved.
* Redistribution and modifications are permitted subject to BSD license. * Redistribution and modifications are permitted subject to BSD license.
*/ */
......
...@@ -14,7 +14,17 @@ BEGIN ...@@ -14,7 +14,17 @@ BEGIN
PDU ::= SEQUENCE { PDU ::= SEQUENCE {
..., ...,
str-o IA5String OPTIONAL, str-o IA5String OPTIONAL,
str-m IA5String str-m IA5String,
singl Singleton,
pdu-2 PDU-2
}
Singleton ::= SEQUENCE {
mandatory IA5String DEFAULT "z"
}
PDU-2 ::= CHOICE {
str-p2 IA5String
} }
END END
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