[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


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?

Archive administrator: postmaster@lists.cynapses.org