aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2011-03-09 12:57:26 +0100
committermilo <milo@r0ot.me>2011-04-14 14:05:44 +0200
commitdf3e497dbd3e52c16b77bed3379c0b281d991825 (patch)
tree49e05dddb5e8d75092e82e2734392674833d0e49 /include/libssh/libssh.h
parent9a21093ab8357dc0c48ad8d78091a5d1d4ec7316 (diff)
downloadlibssh-df3e497dbd3e52c16b77bed3379c0b281d991825.tar.gz
libssh-df3e497dbd3e52c16b77bed3379c0b281d991825.tar.xz
libssh-df3e497dbd3e52c16b77bed3379c0b281d991825.zip
[pki] Added privatekey_from_base64() function...
and wrapped it with privatekey_from_file()
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 733429a..4051f73 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -490,6 +490,9 @@ LIBSSH_API int ssh_event_remove_fd(ssh_event event, socket_t fd);
LIBSSH_API int ssh_event_remove_session(ssh_event event, ssh_session session);
LIBSSH_API void ssh_event_free(ssh_event event);
+LIBSSH_API ssh_private_key privatekey_from_base64(ssh_session session, const char *b64_pkey,
+ int type, const char *passphrase);
+
#ifndef LIBSSH_LEGACY_0_4
#include "libssh/legacy.h"
#endif