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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user