From d61abae1792ec6d2aa4d2802370ea7e839668014 Mon Sep 17 00:00:00 2001 From: Marcel Poul Date: Fri, 17 Aug 2012 11:33:25 +0000 Subject: [PATCH] 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. --- emi.canl.canl-c/src/canl_ocsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 * -- 1.8.2.3