mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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.
2be6779b08
This commit is contained in:
parent
3d16401508
commit
19ef7082ba
3 changed files with 8 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue