libssh: Update CVE-2026-0966-2.patch

Corrected the ssh_print_hexa to ssh_print_hash in the patch

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
Vijay Anusuri 2026-03-27 15:29:03 +05:30 committed by Gyorgy Sarvari
parent 4a119f766d
commit f589378b48

View File

@ -40,7 +40,7 @@ index 008ccb4e..bdd7489c 100644
case SSH_KNOWN_HOSTS_CHANGED:
fprintf(stderr, "Host key for server changed: it is now:\n");
- ssh_print_hexa("Public key hash", hash, hlen);
+ ssh_print_hexa(SSH_PUBLICKEY_HASH_SHA256, hash, hlen);
+ ssh_print_hash(SSH_PUBLICKEY_HASH_SHA256, hash, hlen);
fprintf(stderr, "For security reasons, connection will be stopped\n");
ssh_clean_pubkey_hash(&hash);