From da459f77129f86cfdf164c24a5670bd103168bfa Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Wed, 6 Oct 2010 19:42:14 +0000 Subject: [PATCH] fix typo git-svn-id: file:///home/svn/framework3/trunk@10574 4d416f70-5f16-0410-b530-b9f4589650da --- lib/net/ssh/transport/constants.rb | 2 +- lib/net/ssh/transport/session.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/net/ssh/transport/constants.rb b/lib/net/ssh/transport/constants.rb index 1e945f6635..4db1718881 100644 --- a/lib/net/ssh/transport/constants.rb +++ b/lib/net/ssh/transport/constants.rb @@ -27,7 +27,7 @@ module Net; module SSH; module Transport KEXDH_REPLY = 31 #-- - # Compatability flags + # Compatibility flags #++ COMPAT_OLD_DHGEX = 0x1 diff --git a/lib/net/ssh/transport/session.rb b/lib/net/ssh/transport/session.rb index 6a701453ed..20daf5d354 100644 --- a/lib/net/ssh/transport/session.rb +++ b/lib/net/ssh/transport/session.rb @@ -40,7 +40,7 @@ module Net; module SSH; module Transport # version. attr_reader :server_version - # Internal compatability flags (hacks/tweaks/etc) + # Internal compatibility flags (hacks/tweaks/etc) attr_reader :compat_flags # The Algorithms instance used to perform key exchanges. @@ -95,7 +95,7 @@ module Net; module SSH; module Transport @server_version = ServerVersion.new(socket, logger) - # Compatability settings + # Compatibility settings ver = @server_version.version @compat_flags = 0 if ver =~ /OpenSSH_2\.[0-3]/ or ver =~ /OpenSSH_2\.5\.[0-2]/