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

[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:
Alan Wu 2022-07-11 16:55:39 -04:00 committed by Kazuki Yamaguchi
parent a211b32180
commit 5dae78b9d3

View file

@ -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)