1
1

Phillip Vandry has seen another bug into r42 :

-    MD5CTX c=malloc(sizeof(MD5CTX));
+    MD5CTX c=malloc(sizeof(*c));



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@45 7dcaeef0-15fb-0310-b436-a5af3365683c
Этот коммит содержится в:
Aris Adamantiadis 2005-10-26 15:29:17 +00:00
родитель b719cc0d13
Коммит bef09f8848

Просмотреть файл

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