aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-04-25 07:49:08 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-04-25 07:49:08 -0700
commit462bd6073122f25f524fa92853cf5974d06c7eb8 (patch)
tree7200b1c4e307652097a56abc60132be36de7ec72
parent68f1e0c2deea59df17e573b908f45182eff51dd0 (diff)
downloadcryptography-462bd6073122f25f524fa92853cf5974d06c7eb8.tar.gz
cryptography-462bd6073122f25f524fa92853cf5974d06c7eb8.tar.bz2
cryptography-462bd6073122f25f524fa92853cf5974d06c7eb8.zip
Fix some typos.
Found with https://github.com/intgr/topy/
-rw-r--r--docs/hazmat/primitives/padding.rst2
-rw-r--r--tests/hazmat/bindings/test_openssl.py2
-rw-r--r--tests/test_utils.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/padding.rst b/docs/hazmat/primitives/padding.rst
index 83154c0d..c0209446 100644
--- a/docs/hazmat/primitives/padding.rst
+++ b/docs/hazmat/primitives/padding.rst
@@ -5,7 +5,7 @@ Padding
.. currentmodule:: cryptography.hazmat.primitives.padding
-Padding is a way to take data that may or may not be be a multiple of the block
+Padding is a way to take data that may or may not be a multiple of the block
size for a cipher and extend it out so that it is. This is required for many
block cipher modes as they require the data to be encrypted to be an exact
multiple of the block size.
diff --git a/tests/hazmat/bindings/test_openssl.py b/tests/hazmat/bindings/test_openssl.py
index 1dbd23b4..58d7602b 100644
--- a/tests/hazmat/bindings/test_openssl.py
+++ b/tests/hazmat/bindings/test_openssl.py
@@ -84,7 +84,7 @@ class TestOpenSSL(object):
with pytest.raises(RuntimeError):
b._lock_cb(0, b.lib.CRYPTO_LOCK_SSL, "<test>", 1)
- # errors shouldnt cause locking
+ # errors shouldn't cause locking
assert lock.acquire(False)
lock.release()
diff --git a/tests/test_utils.py b/tests/test_utils.py
index b50c21fe..7a0b9e74 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -2638,7 +2638,7 @@ def test_raises_unsupported_no_exc():
def test_raises_unsupported_algorithm():
- # Check that it doesnt assert if the right things are raised.
+ # Check that it doesn't assert if the right things are raised.
with raises_unsupported_algorithm(
_Reasons.BACKEND_MISSING_INTERFACE
) as exc_info: