From: Amos Jeffries Date: Sat, 6 Jun 2009 00:30:20 +0000 (+1200) Subject: Author: Henrik Nordstrom X-Git-Tag: SQUID_3_1_0_9~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=352d75747dd2181ceb449421f4673ccb3e96c852;p=thirdparty%2Fsquid.git Author: Henrik Nordstrom 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 --- 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); -}