From 1967d51b3a87fc96181a3e01830f792e60190ac3 Mon Sep 17 00:00:00 2001 From: Guido Serassio Date: Mon, 1 Jun 2009 14:01:23 +0200 Subject: [PATCH] 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 --- helpers/basic_auth/squid_radius_auth/radius-util.c | 10 ---------- 1 file changed, 10 deletions(-) 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); -} -- 2.47.3