summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aumann <me@chr4.org>2014-05-01 19:34:29 +0200
committerChris Aumann <me@chr4.org>2014-05-01 19:34:56 +0200
commitd0eb8b00371330d259a248402021de8eb0cf8cc9 (patch)
tree326fb96fa228a9dbdf608e6eb56ad34e3a166a8b
parent16398e414cdcf59939c31357c136a188fd10ecab (diff)
downloadnet-ssh-d0eb8b00371330d259a248402021de8eb0cf8cc9.tar.gz
Add aes-gcm ssh->ossl conversion
-rw-r--r--lib/net/ssh/transport/cipher_factory.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/net/ssh/transport/cipher_factory.rb b/lib/net/ssh/transport/cipher_factory.rb
index 4d9ab45..912079e 100644
--- a/lib/net/ssh/transport/cipher_factory.rb
+++ b/lib/net/ssh/transport/cipher_factory.rb
@@ -41,6 +41,9 @@ module Net; module SSH; module Transport
"camellia192-ctr@openssh.org" => "camellia-192-ecb",
"camellia256-ctr@openssh.org" => "camellia-256-ecb",
+ "aes256-gcm@openssh.com" => "aes-256-gcm",
+ "aes128-gcm@openssh.com" => "aes-128-gcm",
+
"none" => "none",
}