openssl 0.9.8.o doesn't know OCSP_REQ_CTX_set1_req yet. Check it ossl version and...
authorMarcel Poul <marcel.poul@cern.ch>
Fri, 17 Aug 2012 11:33:25 +0000 (11:33 +0000)
committerMarcel Poul <marcel.poul@cern.ch>
Fri, 17 Aug 2012 11:33:25 +0000 (11:33 +0000)
emi.canl.canl-c/src/canl_ocsp.c

index 31098af..2c61e15 100644 (file)
@@ -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 *