1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-31 00:03:07 +03:00

tests: Init pubkey string with NULL in torture_keyfiles

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-10-01 20:55:19 +02:00
parent 8c77a49729
commit 57eb6a400a

View File

@ -104,7 +104,7 @@ static int teardown(void **state)
static void torture_pubkey_from_file(void **state) {
ssh_session session = *state;
ssh_string pubkey;
ssh_string pubkey = NULL;
int type, rc;
rc = ssh_try_publickey_from_file(session, LIBSSH_RSA_TESTKEY, &pubkey, &type);