aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-10-07 21:30:33 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-10-07 21:31:49 +0200
commit956cf94f70621a59fd3fe16401c9bcd658ea7f84 (patch)
tree2c957e767f10aea0414831a2b0589c9b128578f9
parent191faea3252155b7e99847264a49974d3ba137f5 (diff)
downloadlibssh-956cf94f70621a59fd3fe16401c9bcd658ea7f84.tar.gz
libssh-956cf94f70621a59fd3fe16401c9bcd658ea7f84.tar.xz
libssh-956cf94f70621a59fd3fe16401c9bcd658ea7f84.zip
server: Removed unused variable keytype in the ecdsa case.
-rw-r--r--src/server.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server.c b/src/server.c
index b418081b..582bb48a 100644
--- a/src/server.c
+++ b/src/server.c
@@ -95,8 +95,6 @@ static int server_set_kex(ssh_session session) {
#ifdef HAVE_ECC
if (session->srv.ecdsa_key != NULL) {
- keytype = ssh_key_type(session->srv.ecdsa_key);
-
snprintf(hostkeys, sizeof(hostkeys),
"%s", session->srv.ecdsa_key->type_c);
}