aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1fix/check_fixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libasn1fix/check_fixer.c')
-rw-r--r--libasn1fix/check_fixer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libasn1fix/check_fixer.c b/libasn1fix/check_fixer.c
index a64d9bd1..c4e3f995 100644
--- a/libasn1fix/check_fixer.c
+++ b/libasn1fix/check_fixer.c
@@ -185,8 +185,10 @@ check(const char *fname,
std_asn = asn1p_parse_file("../skeletons/standard-modules/ASN1C-UsefulInformationObjectClasses.asn1", A1P_NOFLAGS);
if(std_asn) {
asn1p_module_t *mod;
- while((mod = TQ_REMOVE(&(std_asn->modules), mod_next)))
+ while((mod = TQ_REMOVE(&(std_asn->modules), mod_next))) {
+ mod->_tags |= MT_STANDARD_MODULE;
TQ_ADD(&(asn->modules), mod, mod_next);
+ }
asn1p_free(std_asn);
}
}