Remove duplicate namespace_prefix

This commit is contained in:
Thom Wiggers 2019-04-09 16:49:43 +02:00
parent 26ffedc86b
commit b2ef82e2da
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -79,9 +79,6 @@ class Implementation:
def path(self, base='..') -> str: def path(self, base='..') -> str:
return os.path.join(self.scheme.path(), self.name) return os.path.join(self.scheme.path(), self.name)
def namespace_prefix(self):
return 'PQCLEAN_{}_{}_'.format(self.scheme.name.upper(), self.name.upper()).replace('-', '')
def libname(self) -> str: def libname(self) -> str:
if os.name == 'nt': if os.name == 'nt':
return "lib{}_{}.lib".format(self.scheme.name, self.name) return "lib{}_{}.lib".format(self.scheme.name, self.name)