diff options
Diffstat (limited to 'ossl.h')
-rw-r--r-- | ossl.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |