Topic: Conflict with WinCrypt.h

Both  OCSP_REQUEST & OCSP_RESPONSE are defined in WinCrypt.h

They are also defined in cyassl-1.9.0/include/openssl/ssl.h

An existing comment in this file indicates that there have been previous
conflicts with wincrypt.h
cf https://github.com/cyassl/cyassl/blob/m … /ssl.h#L44

A basic fix is to add undefs for the above 2 defines. [only on Win32 platform]
#undef OCSP_REQUEST
#undef OCSP_RESPONSE
but I'm not sure that this is the most elegant fix.

This was the change made in openssl
http://cvs.openssl.org/filediff?f=opens … v2=1.9.2.4

Share

Re: Conflict with WinCrypt.h

Thanks!  I've pushed these changes.

Share