Skip to content

Commit

Permalink
be more verbose in the 102 deprecation notice (#5505)
Browse files Browse the repository at this point in the history
  • Loading branch information
reaperhulk committed Oct 25, 2020
1 parent ada53e7 commit bf4b962
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/cryptography/hazmat/bindings/openssl/binding.py
Expand Up @@ -181,8 +181,11 @@ def _verify_openssl_version(lib):
else:
raise RuntimeError(
"You are linking against OpenSSL 1.0.2, which is no longer "
"supported by the OpenSSL project. You need to upgrade to a "
"newer version of OpenSSL."
"supported by the OpenSSL project. To use this version of "
"cryptography you need to upgrade to a newer version of "
"OpenSSL. For this version only you can also set the "
"environment variable CRYPTOGRAPHY_ALLOW_OPENSSL_102 to "
"allow OpenSSL 1.0.2."
)


Expand Down

0 comments on commit bf4b962

Please sign in to comment.