Skip to content

Commit 997af7f

Browse files
authored
Change documentation return type of PrivateKey::RSA.from_openssl
2 parents 33f7512 + 612f1ab commit 997af7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/ssh_data/private_key

lib/ssh_data/private_key/rsa.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def self.generate(size, unsafe_allow_small_key: false)
2121

2222
# Import an openssl private key.
2323
#
24-
# key - An OpenSSL::PKey::DSA instance.
24+
# key - An OpenSSL::PKey::RSA instance.
2525
#
26-
# Returns a DSA instance.
26+
# Returns a RSA instance.
2727
def self.from_openssl(key)
2828
new(
2929
algo: PublicKey::ALGO_RSA,

0 commit comments

Comments
 (0)