[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ssh_session_is_known_server(session) returning different value for LibSSH Library generated using vcpkg and MinGw\Cmake
[Thread Prev] | [Thread Next]
- Subject: Re: ssh_session_is_known_server(session) returning different value for LibSSH Library generated using vcpkg and MinGw\Cmake
- From: g4-lisz@xxxxxxxxxxxx
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 5 Aug 2020 18:35:16 +0200
- To: libssh@xxxxxxxxxx
On 05.08.20 18:32, V Sidnal, Nagraju wrote: > Hi Libssh Team, > > > > I’m facing very strange issue. > > When I’m using library(libssh 0.9.4) generated using vcpkg. For below > call, state is returned as SSH_KNOWN_HOSTS_UNKNOWN > > state = ssh_session_is_known_server(session); > > > > However When I’m using library(libssh 0.9.4) generated using > MinGW/Cmake. In this scenario , state is returned as SSH_KNOWN_HOSTS_OK. > > > > Note: host_key is already present in knownhost file. > > Maybe this is an issue with line endings Windows vs. Unix in this file?
ssh_session_is_known_server(session) returning different value for LibSSH Library generated using vcpkg and MinGw\Cmake | "V Sidnal, Nagraju" <nagraju.sidnal@xxxxxxxxxxx> |