summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2024-12-05 15:45:52 +0100
committerDarren Tucker <dtucker@dtucker.net>2024-12-05 15:45:52 +0100
commit6b4611dc1232c5d2c8e43201f580f19aab320c87 (patch)
tree71e5df73706e8e5856642b4631b60de9f320a268
parentupstream: Add key expiry test in the 64bit time_t range for additional (diff)
downloadopenssh-6b4611dc1232c5d2c8e43201f580f19aab320c87.tar.xz
openssh-6b4611dc1232c5d2c8e43201f580f19aab320c87.zip
Skip 64bit expiry time test on 32bit time_t.
-rw-r--r--regress/key-options.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/key-options.sh b/regress/key-options.sh
index df28ce887..c98dafc3f 100644
--- a/regress/key-options.sh
+++ b/regress/key-options.sh
@@ -121,4 +121,6 @@ check_valid_before "default" "" "pass"
check_valid_before "invalid" 'expiry-time="INVALID"' "fail"
check_valid_before "expired" 'expiry-time="19990101"' "fail"
check_valid_before "valid" 'expiry-time="20380101"' "pass"
+if ! config_defined "SIZEOF_TIME_T 4"; then
check_valid_before "valid-64b" 'expiry-time="25250101"' "pass"
+fi