]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
we shouldn't be casting DATE to anything else
authorAlan T. DeKok <aland@freeradius.org>
Tue, 20 Aug 2019 21:31:53 +0000 (17:31 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 20 Aug 2019 21:31:53 +0000 (17:31 -0400)
src/tests/keywords/base64

index 8cb1284be07555f0e009ce1181786a26f67d3868..8957fef31839fae8a61e7a5b351e529caa5619b7 100644 (file)
@@ -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