Changeset 85343 in vbox for trunk/src/VBox
- Timestamp:
- Jul 14, 2020 4:07:28 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139324
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/darwin/RTCrStoreCreateSnapshotById-darwin.cpp
r82968 r85343 95 95 int rc, PRTERRINFO pErrInfo) 96 96 { 97 /** @todo The SecKeychainSearchCreateFromAttributes and 98 * SecKeychainSearchCopyNext APIs have been officially deprecated since 10.7 99 * according to the header files. However, the perferred API, 100 * SecItemCopyMatching (and possibly SecTrustCopyAnchorCertificates) would 101 * require a larger rewrite here and that's just not worth it right now. We can 102 * do that should these APIs be removed (unlikely given the amount of grep hits 103 * in the public 10.15.3 sources). */ 104 97 105 /* 98 106 * Enumerate the certificates in the keychain. 99 107 */ 108 RT_GCC_NO_WARN_DEPRECATED_BEGIN 100 109 SecKeychainSearchRef hSearch; 101 110 OSStatus orc = SecKeychainSearchCreateFromAttributes(hKeychain, kSecCertificateItemClass, NULL, &hSearch); … … 149 158 rc = RTErrInfoAddF(pErrInfo, -VERR_SEARCH_ERROR, 150 159 " SecKeychainSearchCreateFromAttributes failed with %#x", orc); 160 RT_GCC_NO_WARN_DEPRECATED_END 151 161 return rc; 152 162 }
Note:
See TracChangeset
for help on using the changeset viewer.