From: Guido Serassio Date: Mon, 1 Jun 2009 12:01:23 +0000 (+0200) Subject: MFC: Back out unintended md5 -> squid_md5 substituions from the md5.h -> squid_md5... X-Git-Tag: SQUID_3_2_0_1~983 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1967d51b3a87fc96181a3e01830f792e60190ac3;p=thirdparty%2Fsquid.git 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. This is a missing forward port from Squid 2 of an old Henrik's commit --- diff --git a/helpers/basic_auth/squid_radius_auth/radius-util.c b/helpers/basic_auth/squid_radius_auth/radius-util.c index a647810bbb..6e0e08e039 100644 --- a/helpers/basic_auth/squid_radius_auth/radius-util.c +++ b/helpers/basic_auth/squid_radius_auth/radius-util.c @@ -161,13 +161,3 @@ u_int32_t get_ipaddr(char *host) } 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); -}