Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Deferring OpenSSL import until usage. #159

Merged
merged 1 commit into from
Apr 15, 2015

Commits on Apr 15, 2015

  1. Deferring OpenSSL import until usage.

    This is to speed up import times. In OpenSSL 0.14 the import takes
    0.5 seconds due to cffi on-demand build of extensions in the
    cryptography library.
    
    For classes and functions which are conditionally defined based on
    the existence of OpenSSL.crypto, we check that the module
    exists (but don't import it) using imp.find_module.
    dhermes committed Apr 15, 2015
    Configuration menu
    Copy the full SHA
    613ab46 View commit details
    Browse the repository at this point in the history