summaryrefslogtreecommitdiff
path: root/pcr/guile-ssh/guile-ssh-0.11.3-libssh-0.8-tests.patch
blob: 8b1b65259147e5baa000d881dd7f5ec9a7abcaf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From dac7ae6f3347056f46d664f6104cf6425ae25394 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Wed, 2 Jan 2019 11:47:50 +0300
Subject: [PATCH] tests/server.scm ("server-set!, valid values"): Add fix for
 libssh 0.8

---
 tests/server.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/server.scm b/tests/server.scm
index 7a37a96..c7f8b6c 100644
--- a/tests/server.scm
+++ b/tests/server.scm
@@ -52,7 +52,7 @@
          (topdir  (getenv "abs_top_srcdir"))
          (options `((bindaddr      "127.0.0.1")
                     (bindport      22)
-                    ,(if (= %libssh-minor-version 7)
+                    ,(if (>= %libssh-minor-version 7)
                          (list 'hostkey %rsakey %dsakey)
                          '(hostkey "ssh-rsa" "ssh-dss"))
                     (rsakey        ,%rsakey)
-- 
2.20.1