VirtualBox

Changeset 57687 in vbox for trunk


Ignore:
Timestamp:
Sep 10, 2015 11:37:00 AM (9 years ago)
Author:
vboxsync
Message:

RTCrStoreCertAddWantedFromFishingExpedition.cpp: A couple of alternative cacerts (java) location (arch linux, solaris 10).

Location:
trunk/src/VBox/Runtime/common/crypto
Files:
2 edited

Legend:

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

    r57616 r57687  
    143143#endif
    144144#ifdef RT_OS_LINUX
     145            PREFIX_UNIXROOT "/etc/ssl/certs/java/cacerts",
     146            PREFIX_UNIXROOT "/usr/lib/j*/*/jre/lib/security/cacerts",
    145147            PREFIX_UNIXROOT "/opt/*/jre/lib/security/cacerts",
     148#endif
     149#ifdef RT_OS_SOLARIS
     150            PREFIX_UNIXROOT "/usr/java/jre/lib/security/cacerts",
    146151#endif
    147152#ifdef RT_OS_WINDOWS
  • trunk/src/VBox/Runtime/common/crypto/tsp-template.h

    r57652 r57687  
    6161RTASN1TMPL_BEGIN_SEQCORE();
    6262RTASN1TMPL_MEMBER_OPT_ITAG_EX(  Seconds, RTASN1INTEGER, RTAsn1Integer, ASN1_TAG_INTEGER, RTASN1TMPL_ITAG_F_UP,
    63                                 RTASN1TMPL_MEMBER_CONSTR_U64_MIN_MAX(Millis, 1, UINT64_MAX, RT_NOTHING));
     63                                RTASN1TMPL_MEMBER_CONSTR_U64_MIN_MAX(Seconds, 0, UINT64_MAX, RT_NOTHING));
    6464/** @todo The Millis and Micros fields makes no sense if Seconds > 1, while the
    6565 *        Micros field makes no sense with Millis > 1.  Add constraints
     
    6868                                RTASN1TMPL_MEMBER_CONSTR_U64_MIN_MAX(Millis, 1, 999, RT_NOTHING));
    6969RTASN1TMPL_MEMBER_OPT_ITAG_EX(  Micros,     RTASN1INTEGER,  RTAsn1Integer, 1, RTASN1TMPL_ITAG_F_CP,
    70                                 RTASN1TMPL_MEMBER_CONSTR_U64_MIN_MAX(Millis, 1, 999, RT_NOTHING));
     70                                RTASN1TMPL_MEMBER_CONSTR_U64_MIN_MAX(Micros, 1, 999, RT_NOTHING));
    7171RTASN1TMPL_END_SEQCORE();
    7272#undef RTASN1TMPL_TYPE
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