1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-12 15:41:16 +03:00

server: Removed unused variable keytype in the ecdsa case.

This commit is contained in:
Andreas Schneider
2012-10-07 21:30:33 +02:00
parent 191faea325
commit 956cf94f70

View File

@@ -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);
}