diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-16 19:33:24 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-16 19:33:24 +0200 |
commit | 254c30be2e97812a892c96210491720d63538994 (patch) | |
tree | fd2eb1e707dff650317ccd0d14a059aa03351d3b /tests/unittests | |
parent | 25a21088090dcb18ef6f0b12a47bd1db6b871153 (diff) | |
download | libssh-254c30be2e97812a892c96210491720d63538994.tar.gz libssh-254c30be2e97812a892c96210491720d63538994.tar.xz libssh-254c30be2e97812a892c96210491720d63538994.zip |
pki: Remove session from ssh_pki_import_pubkey_* functions.
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/torture_pki.c | 4 |
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); |