diff options
author | Kazuki Yamaguchi <[email protected]> | 2020-02-22 05:37:01 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <[email protected]> | 2021-10-25 00:40:43 +0900 |
commit | 19ef7082baa5097e3d4cddb68c98ea1ec8e34a88 (patch) | |
tree | 18b370a249cfae8a99956dcdc517a1a4104d00f6 /ext/openssl/ossl_ts.c | |
parent | 3d16401508c3efb44eefbb2d4dfb68b850407397 (diff) |
[ruby/openssl] ts: use TS_VERIFY_CTX_set_certs instead of TS_VERIFY_CTS_set_certs
OpenSSL 3.0 fixed the typo in the function name and replaced the
current 'CTS' version with a macro.
https://github.com/ruby/openssl/commit/2be6779b08
Diffstat (limited to 'ext/openssl/ossl_ts.c')
-rw-r--r-- | ext/openssl/ossl_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_ts.c b/ext/openssl/ossl_ts.c index b9a62fd9e4..b33ff10c10 100644 --- a/ext/openssl/ossl_ts.c +++ b/ext/openssl/ossl_ts.c @@ -826,7 +826,7 @@ ossl_ts_resp_verify(int argc, VALUE *argv, VALUE self) X509_up_ref(cert); } - TS_VERIFY_CTS_set_certs(ctx, x509inter); + TS_VERIFY_CTX_set_certs(ctx, x509inter); TS_VERIFY_CTX_add_flags(ctx, TS_VFY_SIGNATURE); TS_VERIFY_CTX_set_store(ctx, x509st); |