[pypy-issue] [issue822] translation issues with openssl >= 1.0.0
Piotr Skamruk
tracker at bugs.pypy.org
Mon Sep 26 13:56:57 CEST 2011
Piotr Skamruk <piotr.skamruk at gmail.com> added the comment:
Little patch which works for me:
diff -r 99eb704c3dd1 pypy/rlib/ropenssl.py
--- a/pypy/rlib/ropenssl.py Sat Sep 24 13:45:47 2011 +0200
+++ b/pypy/rlib/ropenssl.py Mon Sep 26 13:55:03 2011 +0200
@@ -62,7 +62,7 @@
"OPENSSL_VERSION_NUMBER")
SSLEAY_VERSION = rffi_platform.DefinedConstantString(
"SSLEAY_VERSION", "SSLeay_version(SSLEAY_VERSION)")
- OPENSSL_NO_SSL2 = rffi_platform.DefinedConstantInteger(
+ OPENSSL_NO_SSL2 = rffi_platform.Defined(
"OPENSSL_NO_SSL2")
SSL_FILETYPE_PEM = rffi_platform.ConstantInteger("SSL_FILETYPE_PEM")
SSL_OP_ALL = rffi_platform.ConstantInteger("SSL_OP_ALL")
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue822>
________________________________________
More information about the pypy-issue
mailing list