aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/pki.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-07 17:49:02 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-08 15:28:31 +0200
commit9bed334da3b0f18eee326300b5a8a8b4ff5d5875 (patch)
treebe953e3af3e1e3ed1a31b9315cbe18d40014498a /include/libssh/pki.h
parent7c302d376c3c31b1d4a311e5813dc3632b387609 (diff)
downloadlibssh-9bed334da3b0f18eee326300b5a8a8b4ff5d5875.tar.gz
libssh-9bed334da3b0f18eee326300b5a8a8b4ff5d5875.tar.xz
libssh-9bed334da3b0f18eee326300b5a8a8b4ff5d5875.zip
pki: Add ssh_pki_convert_key_to_privatekey().
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r--include/libssh/pki.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index f7ce4ccb..182079f2 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -54,6 +54,7 @@ ssh_string ssh_pki_do_sign(ssh_session session, ssh_buffer sigbuf,
/* temporary functions, to be removed after migration to ssh_key */
ssh_public_key ssh_pki_convert_key_to_publickey(ssh_key key);
+ssh_private_key ssh_pki_convert_key_to_privatekey(ssh_key key);
enum ssh_keytypes_e pki_privatekey_type_from_string(const char *privkey);