aboutsummaryrefslogtreecommitdiff
path: root/tests/client
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-11-05 11:13:43 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-11-05 11:13:43 +0100
commite9aebb1198bad4b97af0c2c4f13d2ff3340c3289 (patch)
tree70b6b1904b30f046b7115b26a70a5115144edc1a /tests/client
parentfbe8ccdf3b0f2a575da3705fdd187faf7266ae65 (diff)
downloadlibssh-e9aebb1198bad4b97af0c2c4f13d2ff3340c3289.tar.gz
libssh-e9aebb1198bad4b97af0c2c4f13d2ff3340c3289.tar.xz
libssh-e9aebb1198bad4b97af0c2c4f13d2ff3340c3289.zip
tests: Fix memory leak in torture_auth_cert
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/client')
-rw-r--r--tests/client/torture_auth.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c
index 6c341b92..96fceb77 100644
--- a/tests/client/torture_auth.c
+++ b/tests/client/torture_auth.c
@@ -500,9 +500,6 @@ static void torture_auth_cert(void **state) {
struct passwd *pwd;
int rc;
- cert = ssh_key_new();
- assert_true(cert != NULL);
-
pwd = getpwnam("bob");
assert_non_null(pwd);