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:
@ -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);
|
||||
|
Reference in New Issue
Block a user