commit | e56627aae75da7f820db26fb994f137c5d09f036 | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@divmod.com> | Mon Nov 01 00:03:15 2010 -0400 |
committer | Jean-Paul Calderone <exarkun@divmod.com> | Mon Nov 01 00:03:15 2010 -0400 |
tree | 028355e4ced6d2cee959e60fc217e87f9ef1faa3 | |
parent | db33e6316a13bac464559c90aa730ed9dc25c44d [diff] [blame] |
2.x compat!
diff --git a/OpenSSL/ssl/ssl.c b/OpenSSL/ssl/ssl.c index ee186ba..d61983a 100644 --- a/OpenSSL/ssl/ssl.c +++ b/OpenSSL/ssl/ssl.c
@@ -73,6 +73,10 @@ PyObject *ssl_api_object; import_crypto(); + + new_x509 = crypto_X509_New; + new_x509name = crypto_X509Name_New; + new_x509store = crypto_X509Store_New; #else # ifdef _WIN32 HMODULE crypto = GetModuleHandle("crypto.pyd");