hbons/SparkleShare — pull request #950 by duglum (2012-09-05 12:53:59+00:00)
Title: Fix #936

I had the same problem with my setup. The problem seemed to be that GetHostKey() returned an empty string. This was caused by ssh-keyscan returning an empty string when a non-standard port for the SSH-Server was used, which was then inserted into the known_hosts file as an empty row.
The changes I made now take the port into account and check for an empty string before returning as well.

Tested on Windows 7 (64Bit).