diff options
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2014-01-11 08:06:35 -0500 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2014-01-11 08:06:35 -0500 |
commit | b64e2a2aaaa81f5020015cf65589755a63a59a70 (patch) | |
tree | 14cf4084583a1faaa2a92d31d587bf56b76718fa | |
parent | e324fd60462abfe3c39d342f6444311060ff5c7d (diff) | |
download | pyopenssl-b64e2a2aaaa81f5020015cf65589755a63a59a70.tar.gz |
Add OpenSSL_add_all_algorithms.
-rw-r--r-- | OpenSSL/crypto.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py index d9f136a..103deab 100644 --- a/OpenSSL/crypto.py +++ b/OpenSSL/crypto.py @@ -2258,4 +2258,13 @@ else: _initialize_openssl_threads(get_ident, Lock) del get_ident, Lock +# There are no direct unit tests for this initialization. It is tested +# indirectly since it is necessary for functions like dump_privatekey when +# using encryption. +# +# Thus OpenSSL.test.test_crypto.FunctionTests.test_dump_privatekey_passphrase +# and some other similar tests may fail without this (though they may not if +# the Python runtime has already done some initialization of the underlying +# OpenSSL library (and is linked against the same one that cryptography is +# using)). _lib.OpenSSL_add_all_algorithms() |