mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-14 04:18:54 +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
|
#ifdef HAVE_ECC
|
||||||
if (session->srv.ecdsa_key != NULL) {
|
if (session->srv.ecdsa_key != NULL) {
|
||||||
keytype = ssh_key_type(session->srv.ecdsa_key);
|
|
||||||
|
|
||||||
snprintf(hostkeys, sizeof(hostkeys),
|
snprintf(hostkeys, sizeof(hostkeys),
|
||||||
"%s", session->srv.ecdsa_key->type_c);
|
"%s", session->srv.ecdsa_key->type_c);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user