Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r57945:c83d73431362
Date: 2012-10-08 15:56 -0700
http://bitbucket.org/pypy/pypy/changeset/c83d73431362/

Log:    SSL_CTX_sess_* are macros

diff --git a/pypy/rlib/ropenssl.py b/pypy/rlib/ropenssl.py
--- a/pypy/rlib/ropenssl.py
+++ b/pypy/rlib/ropenssl.py
@@ -234,7 +234,7 @@
     number connect connect_good connect_renegotiate accept accept_good
     accept_renegotiate hits misses timeouts cache_full""".split()
 SSL_CTX_STATS = unrolling_iterable(
-    (name, external('SSL_CTX_sess_' + name, [SSL_CTX], rffi.LONG))
+    (name, external('SSL_CTX_sess_' + name, [SSL_CTX], rffi.LONG, macro=True))
     for name in SSL_CTX_STATS_NAMES)
 
 ssl_external('SSL_new', [SSL_CTX], SSL)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to