summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pkcs1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pkcs1.py b/tests/test_pkcs1.py
index a96c8be..5377b30 100644
--- a/tests/test_pkcs1.py
+++ b/tests/test_pkcs1.py
@@ -128,7 +128,7 @@ class SignatureTest(unittest.TestCase):
"""Test happy flow of hash, sign, and verify"""
message = b'je moeder'
- msg_hash = pkcs1.compute_hash(message, 'SHA-256')
- signature = pkcs1.sign_hash(msg_hash, self.priv, 'SHA-256')
+ msg_hash = pkcs1.compute_hash(message, 'SHA-224')
+ signature = pkcs1.sign_hash(msg_hash, self.priv, 'SHA-224')
self.assertTrue(pkcs1.verify(message, signature, self.pub))