Skip to content

Commit

Permalink
No symbol mapping for file names
Browse files Browse the repository at this point in the history
Dashes in file names need not be mapped to underscores.
  • Loading branch information
vanrein committed May 10, 2019
1 parent 8b9281a commit aa2460a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/quick_der/generators/header.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def generate_head(self):
return

for rm in self.semamod.imports.imports.keys():
rmfns.add(tosym(str(rm).rsplit('.', 1)[0]).lower())
rmfns.add(str(rm).rsplit('.', 1)[0].lower())

for rmfn in rmfns:
self.writeln('#include <quick-der/' + rmfn + '.h>')
Expand Down
2 changes: 1 addition & 1 deletion python/quick_der/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ def tosym(name):
api.DER_TAG_GENERALSTRING: 'ASN1GeneralString',
api.DER_TAG_UNIVERSALSTRING: 'ASN1UniversalString',
api.DER_PACK_ANY: 'ASN1Any'
}
}

0 comments on commit aa2460a

Please sign in to comment.