6af85b6053
libssh2_knownhost_readfile() silently ignored problems when reading keys in unsupported formats from the known hosts file. When the file is written again from the internal structures of libssh2 it gets truntcated to the point where the first unknown key was located. * src/knownhost.c:libssh2_knownhost_readfile() - return error if key parsing fails |
||
---|---|---|
.. | ||
libssh2_publickey.h | ||
libssh2_sftp.h | ||
libssh2.h |