Ok delving further again - I looked at
/usr/include/php/ext/standard/md5.h which is what it is calling. The
file in 5.1.6 looks like
PHPAPI void make_digest(char *md5str, unsigned char *digest);
PHPAPI void PHP_MD5Init(PHP_MD5_CTX *);
PHPAPI void PHP_MD5Update(PHP_MD5_CTX *, const unsigned char *, unsigned
int);
PHPAPI void PHP_MD5Final(unsigned char[16], PHP_MD5_CTX *);
There is no make_digest_ex so I edited db.c on the to change line 463 from
make_digest_ex(md5str, digest,16);
to
make_digest(md5str, digest);
And it compiles fine and works for my needs. I don't know what this
would break for other people however.
Regards
Andrew
> --
>
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to
mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/mongodb-user?hl=en.
>
>
>