Ticket #16597: patch-ra.c.diff
File patch-ra.c.diff, 1.4 KB (added by bahamut@…, 16 years ago) |
---|
-
ra.c
old new 2751 2751 } 2752 2752 #endif 2753 2753 2754 #if defined(__APPLE__) 2755 static PyObject *get_keychain_simple_provider(PyObject* self) 2756 { 2757 AuthProviderObject *auth = PyObject_New(AuthProviderObject, &AuthProvider_Type); 2758 auth->pool = Pool(NULL); 2759 if (auth->pool == NULL) 2760 return NULL; 2761 svn_auth_get_keychain_simple_provider(&auth->provider, auth->pool); 2762 return (PyObject *)auth; 2763 } 2764 #endif 2765 2754 2766 static PyMethodDef ra_module_methods[] = { 2755 2767 { "version", (PyCFunction)version, METH_NOARGS, NULL }, 2756 2768 { "get_ssl_client_cert_pw_file_provider", (PyCFunction)get_ssl_client_cert_pw_file_provider, METH_NOARGS, NULL }, … … 2761 2773 { "get_windows_simple_provider", (PyCFunction)get_windows_simple_provider, METH_NOARGS, NULL }, 2762 2774 { "get_windows_ssl_server_trust_provider", (PyCFunction)get_windows_ssl_server_trust_provider, METH_NOARGS, NULL }, 2763 2775 #endif 2776 #if defined(__APPLE__) 2777 { "get_keychain_simple_provider", (PyCFunction)get_keychain_simple_provider, METH_NOARGS, NULL }, 2778 #endif 2764 2779 { "get_username_prompt_provider", (PyCFunction)get_username_prompt_provider, METH_VARARGS, NULL }, 2765 2780 { "get_simple_prompt_provider", (PyCFunction)get_simple_prompt_provider, METH_VARARGS, NULL }, 2766 2781 { "get_ssl_server_trust_prompt_provider", (PyCFunction)get_ssl_server_trust_prompt_provider, METH_VARARGS, NULL },