1
1

pki_container_openssh: Initialize pointers to NULL

Fixes T190

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Этот коммит содержится в:
Andreas Schneider 2019-10-31 10:17:04 +01:00
родитель 9d67ca251c
Коммит e065d2bb3f

Просмотреть файл

@ -111,8 +111,8 @@ static int pki_private_key_decrypt(ssh_string blob,
uint8_t key_material[128] = {0};
char passphrase_buffer[128] = {0};
size_t key_material_len;
ssh_buffer buffer;
ssh_string salt;
ssh_buffer buffer = NULL;
ssh_string salt = NULL;
uint32_t rounds;
int cmp;
int rc;