From c53b6b907ce7ccaf720777c18eed3eea46807bb7 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 26 Oct 2005 16:59:16 +0000 Subject: resolved the infinite loop on exit (thanks giga for the hint). I resolved a memory alloc problem into hmac_init (same kind that the one of md5_init). It's still saying there is a memory corruption. Since the memory corruption happens before it is found (in malloc()), I'll have to run valgrind to locate it. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@46 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/priv.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 5143379..c2a1f86 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -519,6 +519,11 @@ int channel_request_shell1(CHANNEL *channel); int channel_request_exec1(CHANNEL *channel, char *cmd); void channel_handle1(SSH_SESSION *session,int type); int channel_write1(CHANNEL *channel, void *data, int len); + +/* session.c */ + +int ssh_handle_packets(SSH_SESSION *session); + #ifdef __cplusplus } ; #endif -- cgit