diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-20 17:13:41 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-27 23:07:41 +0900 |
commit | 94cdf4aa2f4aa0dcacaca5127b4c8beb009d9e9f (patch) | |
tree | fcbfb0a585b42f059ca1cd1ef0621a6f5a8c2e5c /ext/openssl/openssl_missing.h | |
parent | 578935718790e8137dd3afd5c5b10c23bbeec51f (diff) | |
download | ruby-94cdf4aa2f4aa0dcacaca5127b4c8beb009d9e9f.tar.gz |
ext/openssl: OCSP_SINGLERESP and OCSP_CERTID are also made opaque
Diffstat (limited to 'ext/openssl/openssl_missing.h')
-rw-r--r-- | ext/openssl/openssl_missing.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/openssl/openssl_missing.h b/ext/openssl/openssl_missing.h index 7227c4611e..e1ea7d8001 100644 --- a/ext/openssl/openssl_missing.h +++ b/ext/openssl/openssl_missing.h @@ -69,6 +69,10 @@ void *X509_STORE_get_ex_data(X509_STORE *str, int idx); int X509_STORE_set_ex_data(X509_STORE *str, int idx, void *data); #endif +#if !defined(HAVE_OCSP_SINGLERESP_GET0_ID) +# define OCSP_SINGLERESP_get0_id(s) ((s)->certId) +#endif + #if defined(__cplusplus) } #endif |