diff options
Diffstat (limited to 'tests/client/torture_auth.c')
-rw-r--r-- | tests/client/torture_auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c index df7f2714..5f4a4ed8 100644 --- a/tests/client/torture_auth.c +++ b/tests/client/torture_auth.c @@ -534,8 +534,8 @@ static void torture_auth_cert(void **state) { rc = ssh_userauth_publickey(session, NULL, privkey); assert_int_equal(rc, SSH_AUTH_SUCCESS); - ssh_key_free(privkey); - ssh_key_free(cert); + SSH_KEY_FREE(privkey); + SSH_KEY_FREE(cert); } static void torture_auth_agent_cert(void **state) { |