def _TryOpenSslImport():
 try:
  (_, _package_dir, _) = imp.find_module('OpenSSL')
  if (not (os.path.isfile(os.path.join(_package_dir, 'crypto.py')) or os.path.isfile(os.path.join(_package_dir, 'crypto.so')) or os.path.isdir(os.path.join(_package_dir, 'crypto')))):
   raise ImportError('No module named OpenSSL.crypto')
  return
 except ImportError:
  import OpenSSL.crypto

def _TryOpenSslImport ( ) : try : ( _ , _package_dir , _ ) = imp . find_module ( 'OpenSSL' ) if ( not ( os . path . isfile ( os . path . join ( _package_dir , 'crypto.py' ) ) or os . path . isfile ( os . path . join ( _package_dir , 'crypto.so' ) ) or os . path . isdir ( os . path . join ( _package_dir , 'crypto' ) ) ) ) : raise ImportError ( 'No module named OpenSSL.crypto' ) return except ImportError : import OpenSSL . crypto
import openssl .