Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

OpenSSL::PKey::DH.generate not implemented #254

Copy link
Copy link
@postmodern

Description

@postmodern
Issue body actions

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.