Changeset 57624 in vbox
- Timestamp:
- Sep 4, 2015 11:40:41 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 102501
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkReply.cpp
r57616 r57624 583 583 if (RTErrInfoIsSet(&StaticErrInfo.Core)) 584 584 LogRel(("refreshCertificates/#1: %s\n", StaticErrInfo.Core.pszMsg)); 585 else if (rc == VERR_NOT_FOUND) 586 LogRel(("refreshCertificates/#1: No trusted SSL certs found on the system, will try download...\n")); 585 587 else 586 588 AssertLogRelRC(rc); 587 588 if (RT_SUCCESS(rc)) 589 if (RT_SUCCESS(rc) || rc == VERR_NOT_FOUND) 589 590 { 590 591 /* … … 643 644 rc = RTCrStoreCertExportAsPem(hNewStore, 0 /*fFlags*/, pszCaCertFile); 644 645 if (RT_SUCCESS(rc)) 646 { 645 647 memcpy(pafOldFoundCerts, afNewFoundCerts, sizeof(afNewFoundCerts)); 648 LogRel(("refreshCertificates/#3: Found %u/%u SSL certs we/you trust (previously %u/%u).\n", 649 countCertsFound(afNewFoundCerts), RTCrStoreCertCount(hNewStore), 650 countCertsFound(pafOldFoundCerts), RTCrStoreCertCount(hOldStore) )); 651 } 646 652 else 653 { 647 654 RT_ZERO(pafOldFoundCerts); 655 LogRel(("refreshCertificates/#3: RTCrStoreCertExportAsPem unexpectedly failed with %Rrc\n", rc)); 656 } 648 657 } 658 else 659 LogRel(("refreshCertificates/#3: Sticking with the old file, missing essential certs.\n")); 649 660 } 650 661 RTCrStoreRelease(hNewStore); -
trunk/src/VBox/Runtime/common/misc/http.cpp
r57616 r57624 434 434 * Ditto for the system store. 435 435 */ 436 int rcSystem = RTCrStoreCreateSnapshotById(&hSrcStore, RTCRSTOREID_ USER_TRUSTED_CAS_AND_CERTIFICATES, pErrInfo);436 int rcSystem = RTCrStoreCreateSnapshotById(&hSrcStore, RTCRSTOREID_SYSTEM_TRUSTED_CAS_AND_CERTIFICATES, pErrInfo); 437 437 if (RT_SUCCESS(rcSystem)) 438 438 { … … 457 457 return rcSystem; 458 458 if (RT_FAILURE(rcUser)) 459 return rc System;459 return rcUser; 460 460 return VERR_NOT_FOUND; 461 461 }
Note:
See TracChangeset
for help on using the changeset viewer.