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

