pki: Remove session from ssh_pki_import_pubkey_* functions.

This commit is contained in:
Andreas Schneider
2011-08-16 19:33:24 +02:00
parent 25a2108809
commit 254c30be2e
6 changed files with 38 additions and 52 deletions

View File

@@ -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);