VirtualBox

Changeset 70896 in vbox


Ignore:
Timestamp:
Feb 7, 2018 11:18:51 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120722
Message:

IPRT: Added RTTimeCompare and made use of it in the RTAsn1Time methods instead of the range limited RTTimeSpecCompare. Makes certificates with expire time beyond year 3000 found on windows 10 insider builds (??) work. [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/time/time.cpp

    r70895 r70896  
    982982     * Work on minutes of the day.
    983983     */
    984     unsigned const  cMinutesInDay = 24 * 60;
     984    int32_t const   cMinutesInDay = 24 * 60;
    985985    int32_t         iDayMinute    = (unsigned)pTime->u8Hour * 60 + pTime->u8Minute;
    986986    iDayMinute += cAddend;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette