summaryrefslogtreecommitdiff
path: root/src/OpenSSL
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2021-12-23 17:02:36 -0500
committerGitHub <noreply@github.com>2021-12-24 06:02:36 +0800
commitd184fbbbb68b352a5818ebf94b4a6d68bb92d35a (patch)
tree320698b7750c0d7694a0b9363e9f8d565fb19c94 /src/OpenSSL
parent8b85cfd411af794e77e9be645316607063234975 (diff)
downloadpyopenssl-d184fbbbb68b352a5818ebf94b4a6d68bb92d35a.tar.gz
Update variable name, there are now many linuxes (#1070)
Diffstat (limited to 'src/OpenSSL')
-rw-r--r--src/OpenSSL/SSL.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py
index d4eb243..12374b7 100644
--- a/src/OpenSSL/SSL.py
+++ b/src/OpenSSL/SSL.py
@@ -259,8 +259,8 @@ _CERTIFICATE_PATH_LOCATIONS = [
# These values are compared to output from cffi's ffi.string so they must be
# byte strings.
-_CRYPTOGRAPHY_MANYLINUX1_CA_DIR = b"/opt/pyca/cryptography/openssl/certs"
-_CRYPTOGRAPHY_MANYLINUX1_CA_FILE = b"/opt/pyca/cryptography/openssl/cert.pem"
+_CRYPTOGRAPHY_MANYLINUX_CA_DIR = b"/opt/pyca/cryptography/openssl/certs"
+_CRYPTOGRAPHY_MANYLINUX_CA_FILE = b"/opt/pyca/cryptography/openssl/cert.pem"
class Error(Exception):
@@ -872,8 +872,8 @@ class Context(object):
# to the exact values we use in our manylinux1 builds. If they are
# then we know to load the fallbacks
if (
- default_dir == _CRYPTOGRAPHY_MANYLINUX1_CA_DIR
- and default_file == _CRYPTOGRAPHY_MANYLINUX1_CA_FILE
+ default_dir == _CRYPTOGRAPHY_MANYLINUX_CA_DIR
+ and default_file == _CRYPTOGRAPHY_MANYLINUX_CA_FILE
):
# This is manylinux1, let's load our fallback paths
self._fallback_default_verify_paths(