mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
session: Initialize pointers
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 355e29d881)
This commit is contained in:
committed by
Andreas Schneider
parent
19c43ff6b7
commit
146d1a620d
@@ -1126,7 +1126,7 @@ int ssh_get_publickey_hash(const ssh_key key,
|
||||
size_t *hlen)
|
||||
{
|
||||
ssh_string blob;
|
||||
unsigned char *h;
|
||||
unsigned char *h = NULL;
|
||||
int rc;
|
||||
|
||||
rc = ssh_pki_export_pubkey_blob(key, &blob);
|
||||
|
||||
Reference in New Issue
Block a user