Changeset 95605 in vbox for trunk/src/VBox/Runtime/tools/RTSignTool.cpp
- Timestamp:
- Jul 12, 2022 9:42:24 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/tools/RTSignTool.cpp
r95600 r95605 1698 1698 RTTimeExplode(&Time, RTTimeNow(&SigningTime)); 1699 1699 Time.i32Year = (int32_t)ValueUnion.u32; 1700 if (Time.u8MonthDay == 29&& Time.u8Month == 2 && !RTTimeIsLeapYear(Time.i32Year))1700 if (Time.u8MonthDay > 28 && Time.u8Month == 2 && !RTTimeIsLeapYear(Time.i32Year)) 1701 1701 Time.u8MonthDay = 28; 1702 RTTimeImplode(&SigningTime, &Time); 1702 Time.u16YearDay = 0; 1703 Time.fFlags &= ~(RTTIME_FLAGS_COMMON_YEAR | RTTIME_FLAGS_LEAP_YEAR); 1704 RTTimeImplode(&SigningTime, RTTimeNormalize(&Time)); 1703 1705 break; 1704 1706 }
Note:
See TracChangeset
for help on using the changeset viewer.