mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
kex: Clarify the comment
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
@@ -402,7 +402,7 @@ SSH_PACKET_CALLBACK(ssh_packet_kexinit)
|
|||||||
str = NULL;
|
str = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* copy the server kex info into an array of strings */
|
/* copy the peer kex info into an array of strings */
|
||||||
if (server_kex) {
|
if (server_kex) {
|
||||||
for (i = 0; i < SSH_KEX_METHODS; i++) {
|
for (i = 0; i < SSH_KEX_METHODS; i++) {
|
||||||
session->next_crypto->client_kex.methods[i] = strings[i];
|
session->next_crypto->client_kex.methods[i] = strings[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user