mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 20:30:38 +09:00
tests: Use SSH_STRING_FREE()
Fixes T183
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit 4e809ef122)
This commit is contained in:
@@ -81,7 +81,7 @@ static void torture_session_keys(UNUSED_PARAM(void **state))
|
||||
assert_memory_equal(test_crypto.encryptMAC, eMAC, 32);
|
||||
assert_memory_equal(test_crypto.decryptMAC, dMAC, 32);
|
||||
|
||||
ssh_string_free(k_string);
|
||||
SSH_STRING_FREE(k_string);
|
||||
}
|
||||
|
||||
int torture_run_tests(void) {
|
||||
|
||||
Reference in New Issue
Block a user