aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2016-06-02 22:24:22 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-06-02 22:24:22 -0700
commit0c11d0427e12557fa41cdfbc00f6a83a36c58af7 (patch)
tree502887b370573178237afb3c4a246654e2457c8b /src
parente295f3ab615775c3549b7bc2e051af5cff801619 (diff)
downloadcryptography-0c11d0427e12557fa41cdfbc00f6a83a36c58af7.tar.gz
cryptography-0c11d0427e12557fa41cdfbc00f6a83a36c58af7.tar.bz2
cryptography-0c11d0427e12557fa41cdfbc00f6a83a36c58af7.zip
Random grammar stuff (#2955)
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/backends/openssl/rsa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/rsa.py b/src/cryptography/hazmat/backends/openssl/rsa.py
index 1d86bfe3..d8458ccc 100644
--- a/src/cryptography/hazmat/backends/openssl/rsa.py
+++ b/src/cryptography/hazmat/backends/openssl/rsa.py
@@ -141,7 +141,7 @@ def _handle_rsa_enc_dec_error(backend, key):
backend._lib.RSA_R_OAEP_DECODING_ERROR,
# Though this error looks similar to the
# RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE, this occurs on decrypts,
- # rather then on encrypts
+ # rather than on encrypts
backend._lib.RSA_R_DATA_TOO_LARGE_FOR_MODULUS,
]
if backend._lib.Cryptography_HAS_RSA_R_PKCS_DECODING_ERROR: