diff mbox series

[meta-oe,kirkstone,1/2] libssh: Update CVE-2026-0966-2.patch

Message ID 20260327095904.54402-1-vanusuri@mvista.com
State New
Headers show
Series [meta-oe,kirkstone,1/2] libssh: Update CVE-2026-0966-2.patch | expand

Commit Message

Vijay Anusuri March 27, 2026, 9:59 a.m. UTC
From: Vijay Anusuri <vanusuri@mvista.com>

Corrected the ssh_print_hexa to ssh_print_hash in the patch

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
---
 meta-oe/recipes-support/libssh/libssh/CVE-2026-0966-2.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/libssh/libssh/CVE-2026-0966-2.patch b/meta-oe/recipes-support/libssh/libssh/CVE-2026-0966-2.patch
index 9a035dbc1e..7162a47488 100644
--- a/meta-oe/recipes-support/libssh/libssh/CVE-2026-0966-2.patch
+++ b/meta-oe/recipes-support/libssh/libssh/CVE-2026-0966-2.patch
@@ -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);