make make_digest() output a 16-byte string so that it wont break the internal PHP API (it was breaking the SOAP extension)

This commit is contained in:
Nuno Lopes 2007-05-27 15:29:38 +00:00
parent 7e1647e524
commit 8931a76101

View File

@ -28,7 +28,7 @@
PHPAPI void make_digest(char *md5str, unsigned char *digest)
{
make_digest_ex(md5str, digest, strlen(digest));
make_digest_ex(md5str, digest, 16);
}
PHPAPI void make_digest_ex(char *md5str, unsigned char *digest, int len)