Core/SSH: Authentication methods list parsing is fixed.

git-svn-id: svn://ultimatepp.org/upp/trunk@13660 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
oblivion 2019-10-26 21:47:32 +00:00
parent 662659ee7f
commit 85aa5a8fd4

View file

@ -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<String> GetAuthMethods() { return pick(Split(session->authmethods, ' ')); }
Vector<String> GetAuthMethods() { return pick(Split(session->authmethods, ',')); }
TcpSocket& GetSocket() { return session->socket; }
ValueMap GetMethods() const;