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");