mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-10 06:23:01 +03:00
packet: Log at least names of unknown extensions
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
This commit is contained in:
@@ -244,6 +244,8 @@ SSH_PACKET_CALLBACK(ssh_packet_ext_info)
|
||||
if (ssh_match_group(value, "rsa-sha2-256")) {
|
||||
session->extensions |= SSH_EXT_SIG_RSA_SHA256;
|
||||
}
|
||||
} else {
|
||||
SSH_LOG(SSH_LOG_PACKET, "Unknown extension: %s", name);
|
||||
}
|
||||
free(name);
|
||||
free(value);
|
||||
|
Reference in New Issue
Block a user