Commits

Philip Jenvey committed c83d734

SSL_CTX_sess_* are macros

Comments (0)

Files changed (1)

pypy/rlib/ropenssl.py

     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)