diff options
author | Martin Bosslet <Martin.Bosslet@gmail.com> | 2018-06-21 09:35:35 -0600 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-10-01 11:25:06 +1300 |
commit | 936d78fe9cf9691ed6e5eddbc88e34eb062bc123 (patch) | |
tree | 859032c0870b773185793f85e49098baca8a29f5 /ext/openssl/ossl.h | |
parent | 1219f70f4a5e0cf463f4929278d10943af18f6eb (diff) | |
download | ruby-openssl-936d78fe9cf9691ed6e5eddbc88e34eb062bc123.tar.gz |
ts: Timestamp support (1/3)
This commit applies the initial patches (ts.tar.gz) from https://bugs.ruby-lang.org/issues/4183
This compiles with several warnings. Tests don't run yet.
Diffstat (limited to 'ext/openssl/ossl.h')
-rw-r--r-- | ext/openssl/ossl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index 5a15839c..2c36a0ef 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -28,6 +28,9 @@ #include <openssl/rand.h> #include <openssl/conf.h> #include <openssl/conf_api.h> +#if OPENSSL_VERSION_NUMBER >= 0x10000000L + #include <openssl/ts.h> +#endif #include <openssl/crypto.h> #if !defined(OPENSSL_NO_ENGINE) # include <openssl/engine.h> @@ -168,6 +171,9 @@ void ossl_debug(const char *, ...); #include "ossl_pkey.h" #include "ossl_rand.h" #include "ossl_ssl.h" +#if OPENSSL_VERSION_NUMBER >= 0x10000000L + #include "ossl_ts.h" +#endif #include "ossl_version.h" #include "ossl_x509.h" #include "ossl_engine.h" |