1
1

Fixed stupid "can't parse known host key" bug

due to a dangling \n in the base64 ...
Этот коммит содержится в:
Aris Adamantiadis 2009-08-10 22:50:16 +02:00
родитель a2780d1dd4
Коммит f989452b3e

Просмотреть файл

@ -1073,6 +1073,7 @@ static char **ssh_get_knownhost_line(SSH_SESSION *session, FILE **file,
while (fgets(buffer, sizeof(buffer), *file)) {
ptr = strchr(buffer, '\n');
if (ptr) {
*ptr = '\0';
}
ptr = strchr(buffer,'\r');