From: Marcel Poul Date: Fri, 17 Aug 2012 11:33:25 +0000 (+0000) Subject: openssl 0.9.8.o doesn't know OCSP_REQ_CTX_set1_req yet. Check it ossl version and... X-Git-Tag: glite-jobid-api-c_R_2_2_2_1~27 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=d61abae1792ec6d2aa4d2802370ea7e839668014;p=jra1mw.git openssl 0.9.8.o doesn't know OCSP_REQ_CTX_set1_req yet. Check it ossl version and use other funcions instead if needed. --- diff --git a/emi.canl.canl-c/src/canl_ocsp.c b/emi.canl.canl-c/src/canl_ocsp.c index 31098af..2c61e15 100644 --- a/emi.canl.canl-c/src/canl_ocsp.c +++ b/emi.canl.canl-c/src/canl_ocsp.c @@ -583,7 +583,7 @@ end: #define openssl_fdset(a,b) FD_SET(a, b) #endif -#if SSLEAY_VERSION_NUMBER >= 0x0090808fL +#if SSLEAY_VERSION_NUMBER >= 0x0090900fL /*TODO the timeout variable should be modified if TO is reached. Somehow retur error codes! */ static OCSP_RESPONSE * @@ -680,7 +680,7 @@ err: } #endif -#if SSLEAY_VERSION_NUMBER < 0x0090808fL +#if SSLEAY_VERSION_NUMBER < 0x0090900fL /*TODO the timeout variable should be modified if TO is reached. Somehow retur error codes! */ static OCSP_RESPONSE *