Skip to content

Commit bf4b962

Browse files
authored
be more verbose in the 102 deprecation notice (#5505)
1 parent ada53e7 commit bf4b962

File tree

1 file changed

+5
-2
lines changed
  • src/cryptography/hazmat/bindings/openssl

1 file changed

+5
-2
lines changed

src/cryptography/hazmat/bindings/openssl/binding.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,11 @@ def _verify_openssl_version(lib):
181181
else:
182182
raise RuntimeError(
183183
"You are linking against OpenSSL 1.0.2, which is no longer "
184-
"supported by the OpenSSL project. You need to upgrade to a "
185-
"newer version of OpenSSL."
184+
"supported by the OpenSSL project. To use this version of "
185+
"cryptography you need to upgrade to a newer version of "
186+
"OpenSSL. For this version only you can also set the "
187+
"environment variable CRYPTOGRAPHY_ALLOW_OPENSSL_102 to "
188+
"allow OpenSSL 1.0.2."
186189
)
187190

188191

0 commit comments

Comments
 (0)