From c4017afbcbcf8ec63dfb19ae2ade55facbafa6e3 Mon Sep 17 00:00:00 2001 From: James FitzGibbon Date: Tue, 24 Sep 1996 15:12:01 +0000 Subject: Import of Ascend-modified RADIUS daemon. Reviewed by: chuckr@FreeBSD.ORG --- net/ascend-radius/files/patch-ad | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 net/ascend-radius/files/patch-ad (limited to 'net/ascend-radius/files/patch-ad') diff --git a/net/ascend-radius/files/patch-ad b/net/ascend-radius/files/patch-ad new file mode 100644 index 000000000000..ae358b7f5a21 --- /dev/null +++ b/net/ascend-radius/files/patch-ad @@ -0,0 +1,34 @@ +--- radiusd.c.orig Thu Sep 19 20:20:38 1996 ++++ radiusd.c Mon Sep 23 21:42:03 1996 +@@ -40,6 +40,10 @@ + static char sccsid[] = + "@(#)radiusd.c 1.17 Copyright 1992 Livingston Enterprises Inc"; + ++#if defined(_HAVE_PARAM_H) ++#include ++#endif ++ + #include + #include + #include +@@ -151,8 +155,10 @@ + #if defined(sys5) || defined(BSDI) + extern char *crypt P__((CONST char *, CONST char *)); + #else ++#if ! defined(__FreeBSD__) + extern char *crypt P__((u_char *, u_char *)); + #endif ++#endif + static void insertValuePair P__((VALUE_PAIR** list, VALUE_PAIR* pair)); + static VALUE_PAIR *copyValuePair P__((VALUE_PAIR* source)); + static AUTH_HDR *prepare_send_buffer P__((AUTH_REQ *authreq, int code)); +@@ -1727,7 +1733,8 @@ + VALUE_PAIR *checkList; + VALUE_PAIR *replyList; + { +- pairfree(authInfo->cutList); ++ if (authInfo->cutList != authInfo->authreq->request) ++ pairfree(authInfo->cutList); + authInfo->cutList = (VALUE_PAIR *)0; + pairfree( checkList ); + pairfree( replyList ); -- cgit v1.2.3