fetcher: more friendly message about the accepted host key

This commit is contained in:
Hylke Bons 2012-04-15 12:35:17 +02:00
parent 0dd987a58a
commit bf5f542a11

View file

@ -334,10 +334,8 @@ namespace SparkleLib {
SparkleHelpers.DebugInfo ("Auth", "Accepted host key for " + host);
if (warn) {
Warnings.Add ("The accepted fingerprint is:\n" + GetFingerprint (host_key) +
"\n\nIf the above key doesn't match due to a possible attack, delete this project folder immediately.");
}
if (warn)
Warnings.Add ("The following host key has been accepted:\n" + GetFingerprint (host_key));
}
}
}