summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-02 07:31:54 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-02 07:31:54 +0000
commit3a67aaa4284f785fa284b14a036d4913939cd170 (patch)
treeb3b288a34b46a5ac5584411f18306caa30c03f8b /include/libssh/libssh.h
parent4c84a3e0f22925b18731fb68583067f6f6e6fe58 (diff)
downloadlibssh-3a67aaa4284f785fa284b14a036d4913939cd170.tar.gz
libssh-3a67aaa4284f785fa284b14a036d4913939cd170.tar.xz
libssh-3a67aaa4284f785fa284b14a036d4913939cd170.zip
Improve the ssh_get_pubkey_hash() function.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@337 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 20c057d..c89e31b 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -237,7 +237,7 @@ void ssh_print_hexa(const char *descr, const unsigned char *what, size_t len);
int ssh_get_random(void *where,int len,int strong);
/* this one can be called by the client to see the hash of the public key before accepting it */
-int ssh_get_pubkey_hash(SSH_SESSION *session,unsigned char hash[MD5_DIGEST_LEN]);
+int ssh_get_pubkey_hash(SSH_SESSION *session, unsigned char **hash);
STRING *ssh_get_pubkey(SSH_SESSION *session);
/* in connect.c */