From 85aa5a8fd44c6540232e05bf006a539c409d88bf Mon Sep 17 00:00:00 2001 From: oblivion Date: Sat, 26 Oct 2019 21:47:32 +0000 Subject: [PATCH] Core/SSH: Authentication methods list parsing is fixed. git-svn-id: svn://ultimatepp.org/upp/trunk@13660 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/SSH/Session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/SSH/Session.h b/uppsrc/Core/SSH/Session.h index 6492dd24d..410757773 100644 --- a/uppsrc/Core/SSH/Session.h +++ b/uppsrc/Core/SSH/Session.h @@ -40,7 +40,7 @@ public: String GetMD5Fingerprint() const { return GetHostKeyHash(LIBSSH2_HOSTKEY_HASH_MD5, 16); } String GetSHA1Fingerprint() const { return GetHostKeyHash(LIBSSH2_HOSTKEY_HASH_SHA1, 20); } String GetSHA256Fingerprint() const { return GetHostKeyHash(LIBSSH2_HOSTKEY_HASH_SHA256, 32); } - Vector GetAuthMethods() { return pick(Split(session->authmethods, ' ')); } + Vector GetAuthMethods() { return pick(Split(session->authmethods, ',')); } TcpSocket& GetSocket() { return session->socket; } ValueMap GetMethods() const;