[ruby/openssl] Pass arguments to check macro presence
X509_STORE_get_ex_new_index() is a macro, so passing just its name to have_func() doesn't detect it. Pass an example call instead. https://github.com/ruby/openssl/commit/8d264d3e60 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
This commit is contained in:
parent
a211b32180
commit
5dae78b9d3
@ -142,7 +142,7 @@ have_func("EVP_MD_CTX_free", evp_h)
|
||||
have_func("EVP_MD_CTX_pkey_ctx", evp_h)
|
||||
have_func("X509_STORE_get_ex_data", x509_h)
|
||||
have_func("X509_STORE_set_ex_data", x509_h)
|
||||
have_func("X509_STORE_get_ex_new_index", x509_h)
|
||||
have_func("X509_STORE_get_ex_new_index(0, NULL, NULL, NULL, NULL)", x509_h)
|
||||
have_func("X509_CRL_get0_signature", x509_h)
|
||||
have_func("X509_REQ_get0_signature", x509_h)
|
||||
have_func("X509_REVOKED_get0_serialNumber", x509_h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user