Commits

Anonymous committed 9945f95

(amaury_) fix compile-time error

  • Participants
  • Parent commits c496f04
  • Branches win32-cleanup

Comments (0)

Files changed (1)

pypy/rlib/ropenssl.py

 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)