This repository has been archived by the owner on Nov 5, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify OpenSSL checks in crypt.py.
Previously, when confirming OpenSSL is installed, we checked that the module was installed, and verified that `crypto.py` was contained in the package directory. However, this can cause issues in cases of non-standard installs. In addition, the `imp.find_module` call already raises an `ImportError` in the case that the module is missing, so this second check isn't needed. Instead, we just drop the explicit check for `crypto.py` in the `OpenSSL` directory.
- Loading branch information