From b2ef82e2daa1848203d3ac46ec4233bbaeadc60d Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Tue, 9 Apr 2019 16:49:43 +0200 Subject: [PATCH] Remove duplicate namespace_prefix --- test/pqclean.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/pqclean.py b/test/pqclean.py index d11b1bce..12e1d61d 100644 --- a/test/pqclean.py +++ b/test/pqclean.py @@ -70,7 +70,7 @@ class Implementation: def __init__(self, scheme, name): self.scheme = scheme self.name = name - + def metadata(self): for i in self.scheme.metadata()['implementations']: if i['name'] == self.name: @@ -79,9 +79,6 @@ class Implementation: def path(self, base='..') -> str: 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: if os.name == 'nt': return "lib{}_{}.lib".format(self.scheme.name, self.name)