Closed
Description
The OpenSSL::PKey::DH
class lacks the .generate
class method. It should simply call .new
with the key-size and optional "generator" number.
Steps To Reproduce
OpenSSL::PKey::DH.generate(1024)
Expected Result
# => #<OpenSSL::PKey::DH:...>
Actual Result
NoMethodError (undefined method `generate' for OpenSSL::PKey::DH:Class)
Version
jruby 9.3.2.0 (2.6.8) 2021-12-01 0b8223f905 OpenJDK 64-Bit Server VM 11.0.15+10 on 11.0.15+10 +jit [linux-x86_64]
jruby-openssl (default: 0.11.0 java)
Metadata
Metadata
Assignees
Labels
No labels