[pypy-issue] [issue1053] Adding openssl include when appropriate

Dirkjan Ochtman tracker at bugs.pypy.org
Thu Feb 16 10:01:41 CET 2012


New submission from Dirkjan Ochtman <dirkjan at ochtman.nl>:

This is one of the patches Gentoo has carried for 1.7 and 1.8.

--- pypy-pypy-release-1.7/pypy/rlib/ropenssl.py.bak     2011-11-29
14:19:10.000000000 +0100
+++ pypy-pypy-release-1.7/pypy/rlib/ropenssl.py 2011-11-29 14:19:42.000000000 +0100
@@ -159,6 +159,7 @@
              lltype.Void)

 if HAVE_OPENSSL_RAND:
+    eci.includes = eci.includes + ('openssl/rand.h',)
     ssl_external('RAND_add', [rffi.CCHARP, rffi.INT, rffi.DOUBLE], lltype.Void)
     ssl_external('RAND_status', [], rffi.INT)
     ssl_external('RAND_egd', [rffi.CCHARP], rffi.INT)

----------
messages: 3943
nosy: djc, pypy-issue
priority: bug
status: unread
title: Adding openssl include when appropriate

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1053>
________________________________________


More information about the pypy-issue mailing list