Skip to content

Commit

Permalink
Generate DH key with bigger key
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinj committed Mar 26, 2024
1 parent 7dc89c3 commit d5487ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/openssl/test_pkey.rb
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def test_s_from_parameters_dsa_with_invalid_parameter
end

def test_s_from_parameters_dh_with_all_supported_parameters
source = OpenSSL::PKey::DH.generate(512)
source = OpenSSL::PKey::DH.generate(2048)

new_key = OpenSSL::PKey.from_parameters("DH", source.params)

Expand Down

0 comments on commit d5487ef

Please sign in to comment.