summaryrefslogtreecommitdiffstats
path: root/keymaster
diff options
context:
space:
mode:
Diffstat (limited to 'keymaster')
-rw-r--r--keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp b/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp
index cf12e2a4b..3d37e9fb8 100644
--- a/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp
+++ b/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp
@@ -371,7 +371,7 @@ bool verify_attestation_record(const string& challenge, const string& app_id,
strptime(date.c_str(), "%Y-%m-%d", &time);
// Day of the month (0-31)
- EXPECT_GT(time.tm_mday, 0);
+ EXPECT_GE(time.tm_mday, 0);
EXPECT_LT(time.tm_mday, 32);
// Months since Jan (0-11)
EXPECT_GE(time.tm_mon, 0);