From: Alan T. DeKok Date: Tue, 20 Aug 2019 21:31:53 +0000 (-0400) Subject: we shouldn't be casting DATE to anything else X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a1995f4e7270112f4acfd82e247ac59bccec112;p=thirdparty%2Ffreeradius-server.git we shouldn't be casting DATE to anything else --- diff --git a/src/tests/keywords/base64 b/src/tests/keywords/base64 index 8cb1284be07..8957fef3183 100644 --- a/src/tests/keywords/base64 +++ b/src/tests/keywords/base64 @@ -5,7 +5,6 @@ update request { &Tmp-String-0 := '9870' &Tmp-Octets-0 := 0x39383731 &Tmp-IP-Address-0 := 57.56.55.50 - &Tmp-Date-0 := 959985459 &Tmp-Integer-0 := 959985460 &Tmp-Cast-Abinary := 'ip out forward srcip 57.56.55.53/32 udp dstport = 1812' &Tmp-Cast-IfId := '0000:0000:3938:3737' @@ -22,7 +21,6 @@ update request { &Tmp-String-0 := "%{base64:%{Tmp-String-0}}" &Tmp-String-1 := "%{base64:%{Tmp-Octets-0}}" &Tmp-String-2 := "%{base64:%{Tmp-IP-Address-0}}" - &Tmp-String-3 := "%{base64:%{Tmp-Date-0}}" &Tmp-String-4 := "%{base64:%{Tmp-Integer-0}}" &Tmp-String-5 := "%{base64:%{Tmp-Cast-Abinary}}" &Tmp-String-6 := "%{base64:%{Tmp-Cast-Ifid}}" @@ -46,11 +44,6 @@ if (&Tmp-String-2[0] != 'OTg3Mg==') { test_fail } -# Date - bin 0x39383733 -if (&Tmp-String-3[0] != 'OTg3Mw==') { - test_fail -} - # Integer - bin 0x39383734 if (&Tmp-String-4[0] != 'OTg3NA==') { test_fail