mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
lang/ruby30: Fix build with LibreSSL 3.5
PR: 264003
This commit is contained in:
parent
8166f5fae0
commit
2d5a6c79ae
11
lang/ruby30/files/patch-libressl
Normal file
11
lang/ruby30/files/patch-libressl
Normal file
@ -0,0 +1,11 @@
|
||||
--- ext/openssl/ossl_ocsp.c.orig 2022-04-12 11:48:55 UTC
|
||||
+++ ext/openssl/ossl_ocsp.c
|
||||
@@ -1093,7 +1093,7 @@ ossl_ocspbres_verify(int argc, VALUE *argv, VALUE self
|
||||
* exists in LibreSSL 2.1.10, 2.2.9, 2.3.6, 2.4.1.
|
||||
*/
|
||||
if (!(flg & (OCSP_NOCHAIN | OCSP_NOVERIFY)) &&
|
||||
- sk_X509_num(x509s) && sk_X509_num(bs->certs)) {
|
||||
+ sk_X509_num(x509s) && sk_X509_num(OCSP_resp_get0_certs(bs))) {
|
||||
int i;
|
||||
|
||||
bs = ASN1_item_dup(ASN1_ITEM_rptr(OCSP_BASICRESP), bs);
|
Loading…
Reference in New Issue
Block a user