diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-06-10 20:49:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-06-10 20:49:17 +0000 |
commit | 0ace5f655359373b4db8d2e937cfec926100ef56 (patch) | |
tree | 0d450e81693000bd1b7ee8c7ba3493336a0630bf /lib | |
parent | b8a9f195158644186c8c95bcb443a1cf6169857f (diff) |
- I made the OpenSSL code build again with OpenSSL 0.9.6. The CRLFILE
functionality killed it due to its unconditional use of
X509_STORE_set_flags...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssluse.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index 4fff13d78..f57828f88 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -108,6 +108,13 @@ #define SSL_METHOD_QUAL #endif +#if OPENSSL_VERSION_NUMBER >= 0x00907000L +/* 0.9.6 didn't have X509_STORE_set_flags() */ +#define HAVE_X509_STORE_SET_FLAGS 1 +#else +#define X509_STORE_set_flags(x,y) +#endif + /* * Number of bytes to read from the random number seed file. This must be * a finite value (because some entropy "files" like /dev/urandom have |