Removed obsolete locking code and added support for checking system OpenSSL config file for crypto policies.