resolved the channel hangs on exit issue (moved EOF to read events and removed it from exceptions).

resolved stupid cute & paste error in init_md5()



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@47 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Aris Adamantiadis
2005-10-26 19:13:57 +00:00
parent c53b6b907c
commit 7b416e5c52
3 changed files with 8 additions and 3 deletions

View File

@@ -239,7 +239,7 @@ void sha1(unsigned char *digest,int len,unsigned char *hash){
}
MD5CTX md5_init(){
MD5CTX c=malloc(sizeof(c));
MD5CTX c=malloc(sizeof(*c));
MD5_Init(c);
return c;
}