diff options
Diffstat (limited to 'rsa/pkcs1.py')
-rw-r--r-- | rsa/pkcs1.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rsa/pkcs1.py b/rsa/pkcs1.py index 1274fe3..15e4cf6 100644 --- a/rsa/pkcs1.py +++ b/rsa/pkcs1.py @@ -321,6 +321,8 @@ def verify(message, signature, pub_key): if message_hash != signature_hash: raise VerificationError('Verification failed') + return True + def _hash(message, method_name): '''Returns the message digest. |