From: Arran Cudbard-Bell Date: Thu, 2 Jun 2022 19:29:43 +0000 (-0400) Subject: Cert validity period is 60 days now X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cb7da9398c7e5db2d0fa21b954cd82a2e72757c;p=thirdparty%2Ffreeradius-server.git Cert validity period is 60 days now --- diff --git a/src/tests/modules/cipher/valid.unlang b/src/tests/modules/cipher/valid.unlang index c8f7aff18e7..be7e34071eb 100644 --- a/src/tests/modules/cipher/valid.unlang +++ b/src/tests/modules/cipher/valid.unlang @@ -3,8 +3,8 @@ update request { &Tmp-Date-1 := "%(cipher_rsa_certificate:notAfter)" } -# Check the cert validity period is 365 days -if ("%{expr:%(integer:%{Tmp-Date-1}) - %(integer:%{Tmp-Date-0})}" != "%{expr:86400 * 365}") { +# Check the cert validity period is 30 days +if ("%{expr:%(integer:%{Tmp-Date-1}) - %(integer:%{Tmp-Date-0})}" != "%{expr:86400 * 60}") { test_fail } else { test_pass