Remove redundant check for pyopenssl (#67901) (#67903)

(cherry picked from commit 44d8ce9b31)

Co-authored-by: gp <gp+github@gparent.net>
This commit is contained in:
Felix Fontein
2020-03-03 02:13:07 +01:00
committed by GitHub
parent 6e7383807a
commit ff3d3b59e2
2 changed files with 2 additions and 3 deletions

View File

@ -0,0 +1,2 @@
bugfixes:
- get_certificate - Fix cryptography backend when pyopenssl is unavailable (https://github.com/ansible/ansible/issues/67900)

View File

@ -258,9 +258,6 @@ def main():
changed=False,
)
if not PYOPENSSL_FOUND:
module.fail_json(msg=missing_required_lib('pyOpenSSL >= 0.15'), exception=PYOPENSSL_IMP_ERR)
if timeout:
setdefaulttimeout(timeout)