aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-02-15 09:23:07 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-05-08 11:34:24 +0200
commita3cb5b070760965bffc306184f3412453eb87edf (patch)
tree95da50e0d315d2be27d708e4456878657952a59f
parent88d6e6253c6db815d5f58888aaa4d680029c09b2 (diff)
downloadlibssh-a3cb5b070760965bffc306184f3412453eb87edf.tar.gz
libssh-a3cb5b070760965bffc306184f3412453eb87edf.tar.xz
libssh-a3cb5b070760965bffc306184f3412453eb87edf.zip
server: Add ecdsa hostkey support.
-rw-r--r--src/bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bind.c b/src/bind.c
index 3da49888..b87d47b2 100644
--- a/src/bind.c
+++ b/src/bind.c
@@ -209,7 +209,7 @@ int ssh_bind_listen(ssh_bind sshbind) {
if (ssh_key_type(sshbind->dsa) != SSH_KEYTYPE_DSS) {
ssh_set_error(sshbind, SSH_FATAL,
- "The DSA host key has the wrong type");
+ "The DSA host key has the wrong type: %d");
ssh_key_free(sshbind->dsa);
return SSH_ERROR;
}