commit | f60beec263f4d3a61fb8460dde6b625c56241c23 | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@boson> | Tue Jul 22 21:19:02 2008 -0400 |
committer | Jean-Paul Calderone <exarkun@boson> | Tue Jul 22 21:19:02 2008 -0400 |
tree | 9a12223fa2f20904acec2fa50c31218c48f648d8 | |
parent | cf20dd6b2003b73aae77c3ea9bed3f4392408d29 [diff] [blame] |
Apply PyObject.patch correcting the return type of several functions Author: wsanchez Reviewer: exarkun Fixes: #2018311
diff --git a/src/crypto/crypto.c b/src/crypto/crypto.c index d4fc882..d239a3b 100644 --- a/src/crypto/crypto.c +++ b/src/crypto/crypto.c
@@ -592,7 +592,7 @@ if (py_pkey) { py_pkey->initialized = 0; } - return py_pkey; + return (PyObject *)py_pkey; } static char crypto_X509Extension_doc[] = "\n\