summaryrefslogtreecommitdiff
path: root/tests/test_pkcs1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pkcs1.py')
-rw-r--r--tests/test_pkcs1.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_pkcs1.py b/tests/test_pkcs1.py
index 1704ffd..1f0d305 100644
--- a/tests/test_pkcs1.py
+++ b/tests/test_pkcs1.py
@@ -75,9 +75,11 @@ class SignatureTest(unittest.TestCase):
message = b'je moeder'
signature = pkcs1.sign(message, self.priv, 'SHA-256')
-
self.assertEqual('SHA-256', pkcs1.verify(message, signature, self.pub))
+ signature = pkcs1.sign(message, self.priv, 'SHA3-256')
+ self.assertEqual('SHA3-256', pkcs1.verify(message, signature, self.pub))
+
def test_find_signature_hash(self):
"""Test happy flow of sign and find_signature_hash"""