MFC: Back out unintended md5 -> squid_md5 substituions from the md5.h -> squid_md5.h name change
somehow the global search/replace used when renaming include/md5.h picked up a
lot more than intended.
NP:
This is a missing forward port from Squid 2 of an old Henrik's commit
Found by Guido Serassio <serassio@squid-cache.org>
}
return(ntohl(*(u_int32_t *)hp->h_addr));
}
-
-
-void md5_calc(unsigned char *output, unsigned char *input, unsigned int inlen)
-{
- SquidMD5_CTX context;
-
- SquidMD5Init(&context);
- SquidMD5Update(&context, input, inlen);
- SquidMD5Final(output, &context);
-}