mirror of
https://github.com/php/php-src.git
synced 2024-12-17 22:09:12 +08:00
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:
parent
7e1647e524
commit
8931a76101
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user