diff options
-rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 2 | ||||
-rw-r--r-- | docs/exceptions.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py index 4143d644..371701a4 100644 --- a/cryptography/hazmat/primitives/interfaces.py +++ b/cryptography/hazmat/primitives/interfaces.py @@ -167,5 +167,5 @@ class HashContext(six.with_metaclass(abc.ABCMeta)): def verify(self, signature): """ Compare hash digest to signature and raises InvalidSignature - they are not equal. + if they are not equal. """ diff --git a/docs/exceptions.rst b/docs/exceptions.rst index 8be2c48c..1fbd3267 100644 --- a/docs/exceptions.rst +++ b/docs/exceptions.rst @@ -10,7 +10,7 @@ Exceptions .. class:: InvalidSignature - This is raised when the verify function of a hash function does not + This is raised when the verify method of a hash context does not compare equal. |