* [gentoo-commits] repo/proj/libressl:master commit in: dev-lang/ruby/files/
@ 2023-05-31 20:07 orbea
0 siblings, 0 replies; only message in thread
From: orbea @ 2023-05-31 20:07 UTC (permalink / raw
To: gentoo-commits
commit: 4012d3054680f213407718ee269a3efc47ad81df
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed May 31 19:54:03 2023 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Wed May 31 19:54:03 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=4012d305
dev-lang/ruby: update 3.0 libressl patch
From OpenBSD:
https://github.com/openbsd/ports/commit/42d3003b55a9ace1f489aa93297aafaf7d03e8c4#diff-8c76a3fac72e780ffe364114da7bc68a1e78cb6b825d51795ca5e02bdde95cc8
Signed-off-by: orbea <orbea <AT> riseup.net>
dev-lang/ruby/files/ruby-3.0-libressl.patch | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/dev-lang/ruby/files/ruby-3.0-libressl.patch b/dev-lang/ruby/files/ruby-3.0-libressl.patch
index 8464eca..74771da 100644
--- a/dev-lang/ruby/files/ruby-3.0-libressl.patch
+++ b/dev-lang/ruby/files/ruby-3.0-libressl.patch
@@ -37,3 +37,21 @@ Index: ext/openssl/extconf.rb
have_func("TS_VERIFY_CTX_set_store")
have_func("TS_VERIFY_CTX_add_flags")
have_func("TS_RESP_CTX_set_time_cb")
+From OpenBSD:
+
+https://github.com/openbsd/ports/commit/42d3003b55a9ace1f489aa93297aafaf7d03e8c4#diff-8c76a3fac72e780ffe364114da7bc68a1e78cb6b825d51795ca5e02bdde95cc8
+
+LibreSSL 3.8 dropped support for EC_GFp_nist_method()
+
+Index: ext/openssl/ossl_pkey_ec.c
+--- a/ext/openssl/ossl_pkey_ec.c.orig
++++ b/ext/openssl/ossl_pkey_ec.c
+@@ -743,7 +743,7 @@ static VALUE ossl_ec_group_initialize(int argc, VALUE
+ } else if (id == s_GFp_mont) {
+ method = EC_GFp_mont_method();
+ } else if (id == s_GFp_nist) {
+- method = EC_GFp_nist_method();
++ method = NULL;
+ #if !defined(OPENSSL_NO_EC2M)
+ } else if (id == s_GF2m_simple) {
+ method = EC_GF2m_simple_method();
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-31 20:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-31 20:07 [gentoo-commits] repo/proj/libressl:master commit in: dev-lang/ruby/files/ orbea
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox