Blame SOURCES/0001-ssh-Remove-left-over-comment.patch

f3fc18
From e0e592775911ebe2178b04b4b20f95fea2f2fe9c Mon Sep 17 00:00:00 2001
f3fc18
From: "Richard W.M. Jones" <rjones@redhat.com>
f3fc18
Date: Thu, 5 Jan 2023 16:05:33 +0000
f3fc18
Subject: [PATCH] ssh: Remove left over comment
f3fc18
f3fc18
This comment was left over from when I copied the libssh example code.
f3fc18
It adds no value so remove it.
f3fc18
f3fc18
(cherry picked from commit c93a8957efcc26652b31f5bc359dfd3c4019b4f8)
f3fc18
---
f3fc18
 plugins/ssh/ssh.c | 4 ----
f3fc18
 1 file changed, 4 deletions(-)
f3fc18
f3fc18
diff --git a/plugins/ssh/ssh.c b/plugins/ssh/ssh.c
f3fc18
index 6cf40c26..aaa7c2b9 100644
f3fc18
--- a/plugins/ssh/ssh.c
f3fc18
+++ b/plugins/ssh/ssh.c
f3fc18
@@ -356,10 +356,6 @@ authenticate (struct ssh_handle *h)
f3fc18
     if (rc == SSH_AUTH_SUCCESS) return 0;
f3fc18
   }
f3fc18
 
f3fc18
-  /* Example code tries keyboard-interactive here, but we cannot use
f3fc18
-   * that method from a server.
f3fc18
-   */
f3fc18
-
f3fc18
   if (password != NULL && (method & SSH_AUTH_METHOD_PASSWORD)) {
f3fc18
     rc = authenticate_password (h->session, password);
f3fc18
     if (rc == SSH_AUTH_SUCCESS) return 0;
f3fc18
-- 
f3fc18
2.31.1
f3fc18