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

@@ -68,6 +68,12 @@ ssh_key ssh_key_dup(const ssh_key key);
void ssh_key_clean (ssh_key key);
ssh_key ssh_pki_publickey_from_privatekey(const ssh_key privkey);
int ssh_pki_import_pubkey_blob(const ssh_string key_blob,
ssh_key *pkey);
ssh_string ssh_pki_publickey_to_blob(const ssh_key key);
ssh_string ssh_pki_do_sign(ssh_session session, ssh_buffer sigbuf,
ssh_key privatekey);