VirtualBox

Changeset 75178 in vbox for trunk


Ignore:
Timestamp:
Oct 30, 2018 1:34:54 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/rtAsn1Time_NormalizeTime: Some more commenting. bugref:9232.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asn1/asn1-ut-time-decode.cpp

    r75177 r75178  
    6161        /* Work around clever rounding error in DER_CFDateToUTCTime() on OS X.  This also
    6262           supresses any attempt at feeding us leap seconds.  If we pass 60 to the
    63            normalization code we'll move on to the next min/hour/day, which is wrong both
    64            for the OS X issue and for unwanted leap seconds. */
     63           normalization code will move on to the next min/hour/day, which is wrong both
     64           for the OS X issue and for unwanted leap seconds.  Leap seconds are not valid
     65           ASN.1 by the by according to the specs available to us.  */
    6566        if (pThis->Time.u8Second < 60)
    6667        { /* likely */ }
Note: See TracChangeset for help on using the changeset viewer.

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