aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/bindings/openssl/binding.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/binding.py b/src/cryptography/hazmat/bindings/openssl/binding.py
index 47e64191..5d7466f9 100644
--- a/src/cryptography/hazmat/bindings/openssl/binding.py
+++ b/src/cryptography/hazmat/bindings/openssl/binding.py
@@ -17,8 +17,8 @@ from cryptography.hazmat.bindings.openssl._conditional import CONDITIONAL_NAMES
_OpenSSLError = collections.namedtuple("_OpenSSLError",
["code", "lib", "func", "reason"])
-_OpenSSLErrorText = collections.namedtuple(
- "_OpenSSLErrorText", ["code", "lib", "func", "reason", "reason_text"]
+_OpenSSLErrorWithText = collections.namedtuple(
+ "_OpenSSLErrorWithText", ["code", "lib", "func", "reason", "reason_text"]
)
@@ -47,7 +47,7 @@ def _openssl_assert(lib, ok):
lib.ERR_error_string(err.code, ffi.NULL)
)
errors_with_text.append(
- _OpenSSLErrorText(
+ _OpenSSLErrorWithText(
err.code, err.lib, err.func, err.reason, err_text_reason
)
)