version 1.19, 2019/10/31 21:23:19 |
version 1.20, 2020/07/01 16:28:31 |
|
|
{ |
{ |
struct key_entry *k; |
struct key_entry *k; |
|
|
ssh_packet_close(ssh); |
|
/* |
/* |
* we've only created the public keys variants in case we |
* we've only created the public keys variants in case we |
* are a acting as a server. |
* are a acting as a server. |
|
|
TAILQ_REMOVE(&ssh->private_keys, k, next); |
TAILQ_REMOVE(&ssh->private_keys, k, next); |
free(k); |
free(k); |
} |
} |
if (ssh->kex) |
ssh_packet_close(ssh); |
kex_free(ssh->kex); |
|
free(ssh); |
free(ssh); |
} |
} |
|
|