aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/backends/openssl/x509.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/x509.py b/src/cryptography/hazmat/backends/openssl/x509.py
index 07e79fed..cc4a92a6 100644
--- a/src/cryptography/hazmat/backends/openssl/x509.py
+++ b/src/cryptography/hazmat/backends/openssl/x509.py
@@ -69,7 +69,7 @@ def _build_general_name(backend, gn):
"{0} is not a supported type".format(
x509._GENERAL_NAMES.get(gn.type, gn.type)
),
- x509._GENERAL_NAMES.get(gn.type, gn.type)
+ gn.type
)