1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

session: Initialize pointers

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2022-07-04 19:22:30 +02:00
committed by Andreas Schneider
parent 163951d869
commit 355e29d881

View File

@@ -1126,7 +1126,7 @@ int ssh_get_publickey_hash(const ssh_key key,
size_t *hlen) size_t *hlen)
{ {
ssh_string blob; ssh_string blob;
unsigned char *h; unsigned char *h = NULL;
int rc; int rc;
rc = ssh_pki_export_pubkey_blob(key, &blob); rc = ssh_pki_export_pubkey_blob(key, &blob);