Author: mattip
Branch: win32-cleanup
Changeset: r52104:9945f9583021
Date: 2012-02-04 22:55 +0200
http://bitbucket.org/pypy/pypy/changeset/9945f9583021/

Log:    (amaury_) fix compile-time error

diff --git a/pypy/rlib/ropenssl.py b/pypy/rlib/ropenssl.py
--- a/pypy/rlib/ropenssl.py
+++ b/pypy/rlib/ropenssl.py
@@ -227,7 +227,7 @@
 ssl_external('ASN1_item_d2i', 
              [rffi.VOIDP, rffi.CCHARPP, rffi.LONG, ASN1_ITEM], rffi.VOIDP)
 if OPENSSL_EXPORT_VAR_AS_FUNCTION:             
-    ssl_external('ASN1_ITEM_ptr', [ASN1_ITEM_EXP], ASN1_ITEM, macro=True)
+    ssl_external('ASN1_ITEM_ptr', [lltype.Ptr(lltype.FuncType([], 
ASN1_ITEM))], ASN1_ITEM, macro=True)
 else:    
     ssl_external('ASN1_ITEM_ptr', [rffi.VOIDP], ASN1_ITEM, macro=True)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to