1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Workaround for old LibreSSL

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-05-30 09:13:21 +00:00
parent d53ee00891
commit 162adb82d1

View file

@ -27,6 +27,9 @@ int ossl_EC_curve_nist2nid(const char *);
#if !defined(HAVE_X509_STORE_CTX_GET0_STORE)
# define X509_STORE_CTX_get0_store(x) ((x)->ctx)
#elif defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL
/* old LibreSSL provides this function but lacks the declaration */
X509_STORE *X509_STORE_CTX_get0_store(X509_STORE_CTX *xs);
#endif
#if !defined(HAVE_SSL_IS_SERVER)