From 3a67aaa4284f785fa284b14a036d4913939cd170 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 2 Apr 2009 07:31:54 +0000 Subject: 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 --- include/libssh/libssh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libssh/libssh.h') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 20c057d1..c89e31b5 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 */ -- cgit