diff options
author | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2018-09-24 18:56:22 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-09-27 15:21:30 +0200 |
commit | ca7da823c37e9071348944387c49782c242bf357 (patch) | |
tree | b398ab918c097794788f556a754488eede4dd2ff /tests/unittests/torture_keyfiles.c | |
parent | 2eaa23a20eecabf7bc59164e36effc7e96a9232e (diff) | |
download | libssh-ca7da823c37e9071348944387c49782c242bf357.tar.gz libssh-ca7da823c37e9071348944387c49782c242bf357.tar.xz libssh-ca7da823c37e9071348944387c49782c242bf357.zip |
tests: Replace ssh_string_free() with SSH_STRING_FREE()
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/unittests/torture_keyfiles.c')
-rw-r--r-- | tests/unittests/torture_keyfiles.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unittests/torture_keyfiles.c b/tests/unittests/torture_keyfiles.c index de924f00..55af6c7b 100644 --- a/tests/unittests/torture_keyfiles.c +++ b/tests/unittests/torture_keyfiles.c @@ -111,7 +111,7 @@ static void torture_pubkey_from_file(void **state) { assert_true(rc == 0); - ssh_string_free(pubkey); + SSH_STRING_FREE(pubkey); /* test if it returns 1 if pubkey doesn't exist */ unlink(LIBSSH_RSA_TESTKEY ".pub"); @@ -210,8 +210,8 @@ static void torture_pubkey_generate_from_privkey(void **state) { assert_string_equal(pubkey_line_orig, pubkey_line_new); - ssh_string_free(pubkey_orig); - ssh_string_free(pubkey_new); + SSH_STRING_FREE(pubkey_orig); + SSH_STRING_FREE(pubkey_new); } /** |