aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--handshake.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handshake.go b/handshake.go
index 2cedaad..f741ef7 100644
--- a/handshake.go
+++ b/handshake.go
@@ -95,7 +95,7 @@ func verifyPublicKey(addr net.Addr, pubkey [32]byte) (bool, error) {
}
// Ask host to verify fingerprint.
- logf("Fingerprint of host %q: %s\nIs this the correct fingerprint (yes/[no])?",
+ logf("Fingerprint of host %q: %x\nIs this the correct fingerprint (yes/[no])?",
hostname, fingerprint(pubkey[:]))
var response string
n, err := fmt.Scanln(&response)