MD{4,5}Final number of parameters
Vincent Béron
vberon at mecano.gme.usherb.ca
Thu Oct 7 10:19:54 CDT 2004
Hans,
There seems to be a problem with the number of parameters MD{4,5}Final
expect (haven't checked SHA).
advapi32.spec defines it as follow:
@ stdcall MD4Final(ptr ptr)
@ stdcall MD5Final(ptr ptr)
But the actual implementation in crypt_md{4,5}.c are:
VOID WINAPI MD4Final( MD4_CTX *ctx )
VOID WINAPI MD5Final( MD5_CTX *ctx )
Also, after a bit of googling I found
http://akson.sgh.waw.pl/~chopin/ssh/putty/SGH/src-0.53b/PAGEANT.C, which
uses MD5Final() with 2 parameters:
MD5Final(response_md5, &md5c);
So which one is right?
Vincent
More information about the wine-patches
mailing list