]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
MFC: Back out unintended md5 -> squid_md5 substituions from the md5.h -> squid_md5...
authorGuido Serassio <serassio@squid-cache.org>
Mon, 1 Jun 2009 12:01:23 +0000 (14:01 +0200)
committerGuido Serassio <serassio@squid-cache.org>
Mon, 1 Jun 2009 12:01:23 +0000 (14:01 +0200)
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

index a647810bbbad3b93e416c77f3abaf42741303754..6e0e08e0390397efee8c8d64b7600bda8a490fe6 100644 (file)
@@ -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);
-}