summaryrefslogtreecommitdiff
path: root/test/transport/kex/test_diffie_hellman_group_exchange_sha256.rb
blob: 7f7815ddb77849f942353a95c9905c54c24f3905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'common'
require 'net/ssh/transport/kex/diffie_hellman_group_exchange_sha1'
require 'transport/kex/test_diffie_hellman_group_exchange_sha1'

module Transport 
  module Kex

    class TestDiffieHellmanGroupExchangeSHA256 < TestDiffieHellmanGroupExchangeSHA1
      private
  
        def subject
          Net::SSH::Transport::Kex::DiffieHellmanGroupExchangeSHA256
        end
  
        def digest_type
          OpenSSL::Digest::SHA256
        end
    end

  end
end