Apply that strategy to the two other functions
diff --git a/OpenSSL/ssl/context.c b/OpenSSL/ssl/context.c
index 69bc4e5..a0b9a72 100644
--- a/OpenSSL/ssl/context.c
+++ b/OpenSSL/ssl/context.c
@@ -171,7 +171,7 @@
 
     MY_END_ALLOW_THREADS(conn->tstate);
 
-    cert = crypto_X509_New(X509_STORE_CTX_get_current_cert(x509_ctx), 0);
+    cert = new_x509(X509_STORE_CTX_get_current_cert(x509_ctx), 0);
     errnum = X509_STORE_CTX_get_error(x509_ctx);
     errdepth = X509_STORE_CTX_get_error_depth(x509_ctx);
 
@@ -1036,7 +1036,7 @@
     }
     else
     {
-        return (PyObject *)crypto_X509Store_New(store, 0);
+        return (PyObject *)new_x509store(store, 0);
     }
 }