Skip to content

Commit

Permalink
for openssl 3+
Browse files Browse the repository at this point in the history
  • Loading branch information
nov committed Sep 1, 2022
1 parent cd8c94e commit 2803e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rack/oauth2/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
let :client do
Rack::OAuth2::Client.new(
identifier: 'client_id',
private_key: OpenSSL::PKey::EC.new('prime256v1').generate_key,
private_key: OpenSSL::PKey::EC.generate('prime256v1'),
host: 'server.example.com',
redirect_uri: 'https://client.example.com/callback'
)
Expand Down

0 comments on commit 2803e1b

Please sign in to comment.