summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/torture_pki.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/torture_pki.c b/tests/unittests/torture_pki.c
index 007b509..8a70992 100644
--- a/tests/unittests/torture_pki.c
+++ b/tests/unittests/torture_pki.c
@@ -284,7 +284,7 @@ static void torture_pki_publickey_dsa_base64(void **state)
while (*p != ' ') p++;
*p = '\0';
- rc = ssh_pki_import_pubkey_base64(session, q, type, &key);
+ rc = ssh_pki_import_pubkey_base64(q, type, &key);
assert_true(rc == 0);
rc = ssh_pki_publickey_to_base64(key, &b64_key, &type);
@@ -322,7 +322,7 @@ static void torture_pki_publickey_rsa_base64(void **state)
while (*p != ' ') p++;
*p = '\0';
- rc = ssh_pki_import_pubkey_base64(session, q, type, &key);
+ rc = ssh_pki_import_pubkey_base64(q, type, &key);
assert_true(rc == 0);
rc = ssh_pki_publickey_to_base64(key, &b64_key, &type);