From: Marcel Poul Date: Thu, 16 Aug 2012 10:38:57 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: merge_32_head_take_4_after~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=05fa49e4f808671d4c63c2038177abf38aef4e75;p=jra1mw.git *** empty log message *** --- diff --git a/emi.canl.canl-c/src/canl_ocsp.c b/emi.canl.canl-c/src/canl_ocsp.c index 5cc6836..31098af 100644 --- a/emi.canl.canl-c/src/canl_ocsp.c +++ b/emi.canl.canl-c/src/canl_ocsp.c @@ -577,6 +577,12 @@ end: return resp; } +#ifdef OPENSSL_SYSNAME_WIN32 +#define openssl_fdset(a,b) FD_SET((unsigned int)a, b) +#else +#define openssl_fdset(a,b) FD_SET(a, b) +#endif + #if SSLEAY_VERSION_NUMBER >= 0x0090808fL /*TODO the timeout variable should be modified if TO is reached. Somehow retur error codes! */