aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-06-28 13:27:34 +0200
committerAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-07-04 10:29:20 +0200
commite5a64a3d6b1b601cbaf207468a6658d1a4fa0031 (patch)
treecf86682230702e03892b044f0f1ff77aa28e1f8c /include
parentad68de7271e6ccda261df4d9fc827321e7d90fd0 (diff)
downloadlibssh-e5a64a3d6b1b601cbaf207468a6658d1a4fa0031.tar.gz
libssh-e5a64a3d6b1b601cbaf207468a6658d1a4fa0031.tar.xz
libssh-e5a64a3d6b1b601cbaf207468a6658d1a4fa0031.zip
knownhosts: Read knownhosts file only if found
Avoid trying to open the files if they are not accessible. This was already treated as a non-error, but with this we save one function call. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions