File: supported-algos.patch

package info (click to toggle)
ruby-net-ssh 1%3A7.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,844 kB
  • sloc: ruby: 16,999; makefile: 5
file content (18 lines) | stat: -rw-r--r-- 795 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: test: fix key exchange fallback test to use still-supported group14-sha1 instead of deprecated group1-sha1
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-02-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/test/transport/test_algorithms.rb
+++ b/test/transport/test_algorithms.rb
@@ -242,7 +242,7 @@ module Transport
       kexinit kex: "diffie-hellman-group14-sha1"
       transport.expect do |_t, buffer|
         assert_kexinit(buffer)
-        install_mock_key_exchange(buffer, kex: Net::SSH::Transport::Kex::DiffieHellmanGroup1SHA1)
+        install_mock_key_exchange(buffer, kex: Net::SSH::Transport::Kex::DiffieHellmanGroup14SHA1)
       end
       algorithms.accept_kexinit(kexinit)
     end