mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
pki: Make sure checkint1 and checkint2 are not used uninitialized
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -287,7 +287,7 @@ ssh_key ssh_pki_openssh_privkey_import(const char *text_key,
|
||||
int i;
|
||||
ssh_buffer buffer = NULL, privkey_buffer=NULL;
|
||||
char *magic = NULL, *ciphername = NULL, *kdfname = NULL;
|
||||
uint32_t nkeys = 0, checkint1, checkint2;
|
||||
uint32_t nkeys = 0, checkint1 = 0, checkint2 = 0xFFFF;
|
||||
ssh_string kdfoptions = NULL;
|
||||
ssh_string pubkey0 = NULL;
|
||||
ssh_string privkeys = NULL;
|
||||
|
||||
Reference in New Issue
Block a user