From: Guido Serassio Date: Mon, 1 Jun 2009 12:15:50 +0000 (+0200) Subject: Fix build failure of squid_radius_auth. X-Git-Tag: SQUID_3_2_0_1~982 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e7c85411d72dc9ab4326636d3cefaba7bb86d20;p=thirdparty%2Fsquid.git Fix build failure of squid_radius_auth. Also added config.test. Before of this, squid_radius_auth probably was never automatically build during squid 3 development. --- diff --git a/helpers/basic_auth/squid_radius_auth/config.test b/helpers/basic_auth/squid_radius_auth/config.test new file mode 100644 index 0000000000..039e4d0069 --- /dev/null +++ b/helpers/basic_auth/squid_radius_auth/config.test @@ -0,0 +1,2 @@ +#!/bin/sh +exit 0 diff --git a/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c b/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c index 1252d18289..02bfd3014c 100644 --- a/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c +++ b/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c @@ -108,6 +108,7 @@ #define MAXPASS 254 #define MAXLINE 254 +static void md5_calc(uint8_t out[16], void *in, size_t len); static int i_send_buffer[2048]; static int i_recv_buffer[2048]; @@ -126,7 +127,7 @@ static u_int32_t nas_ipaddr; static u_int32_t auth_ipaddr; static int retries = 30; -char *progname = "squid_rad_auth"; +char progname[] = "squid_rad_auth"; int debug_flag = 0; #ifdef _SQUID_MSWIN_