aboutsummaryrefslogtreecommitdiffstats
path: root/ossl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ossl.h')
-rw-r--r--ossl.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ossl.h b/ossl.h
index 7aa92d4..20578f5 100644
--- a/ossl.h
+++ b/ossl.h
@@ -34,7 +34,8 @@ extern "C" {
#include <openssl/ssl.h>
#include <openssl/hmac.h>
#include <openssl/rand.h>
-#if (OPENSSL_VERSION_NUMBER >= 0x00907000L)
+#if HAVE_OPENSSL_OCSP_H
+# define USE_OCSP
# include <openssl/ocsp.h>
#endif
#if defined(NT) || defined(_WIN32)
@@ -113,11 +114,7 @@ STACK_OF(X509) *ossl_protect_x509_ary2sk(VALUE,int*);
/*
* our default PEM callback
*/
-#if defined(HAVE_PEM_DEF_CALLBACK)
int ossl_pem_passwd_cb(char *, int, int, void *);
-#else
-# define ossl_pem_passwd_cb NULL
-#endif
/*
* ERRor messages