summaryrefslogtreecommitdiff
path: root/dev-ruby/jwt/files/jwt-2.2.3-ec-test.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-25 09:53:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-25 09:53:56 +0100
commit601320c16301dbd7e8830e8c2ab7d6aef5b65abe (patch)
tree0a8e4b21dcd17c963ccfe0c1c815a38f7cdeb425 /dev-ruby/jwt/files/jwt-2.2.3-ec-test.patch
parentfad7c346bcf147b6a580ccc1d0a9b35dbe194ecc (diff)
gentoo auto-resync : 25:08:2023 - 09:53:56
Diffstat (limited to 'dev-ruby/jwt/files/jwt-2.2.3-ec-test.patch')
-rw-r--r--dev-ruby/jwt/files/jwt-2.2.3-ec-test.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-ruby/jwt/files/jwt-2.2.3-ec-test.patch b/dev-ruby/jwt/files/jwt-2.2.3-ec-test.patch
deleted file mode 100644
index 18f69cf8d44d..000000000000
--- a/dev-ruby/jwt/files/jwt-2.2.3-ec-test.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From c444ac978013a9e199c968fefc3c413f37c93351 Mon Sep 17 00:00:00 2001
-From: Joakim Antman <antmanj@gmail.com>
-Date: Wed, 23 Jun 2021 10:55:29 +0300
-Subject: [PATCH] Fix OpenSSL::PKey::EC public_key handing in tests
-
----
- spec/jwk/ec_spec.rb | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/spec/jwk/ec_spec.rb b/spec/jwk/ec_spec.rb
-index 3a94976..d8258bb 100644
---- a/spec/jwk/ec_spec.rb
-+++ b/spec/jwk/ec_spec.rb
-@@ -15,7 +15,7 @@
- end
-
- context 'when a keypair with only public key is given' do
-- let(:keypair) { ec_key.tap { |x| x.private_key = nil } }
-+ let(:keypair) { OpenSSL::PKey::EC.new(ec_key.public_key.group).tap { |ec| ec.public_key = ec_key.public_key } }
- it 'creates an instance of the class' do
- expect(subject).to be_a described_class
- expect(subject.private?).to eq false