diff options
Diffstat (limited to 'ext/openssl/openssl_missing.h')
-rw-r--r-- | ext/openssl/openssl_missing.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/openssl/openssl_missing.h b/ext/openssl/openssl_missing.h index debd25adea..da3248a7c8 100644 --- a/ext/openssl/openssl_missing.h +++ b/ext/openssl/openssl_missing.h @@ -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) |