Changeset 57613 in vbox for trunk/src/VBox/Runtime/common/crypto/store.cpp
- Timestamp:
- Sep 4, 2015 2:19:44 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/store.cpp
r57572 r57613 288 288 289 289 290 RTDECL(uint32_t) RTCrStoreCertCount(RTCRSTORE hStore) 291 { 292 PRTCRSTOREINT pThis = (PRTCRSTOREINT)hStore; 293 AssertPtrReturn(pThis, UINT32_MAX); 294 AssertReturn(pThis->u32Magic == RTCRSTOREINT_MAGIC, UINT32_MAX); 295 296 RTCRSTORECERTSEARCH Search; 297 int rc = pThis->pProvider->pfnCertFindAll(pThis->pvProvider, &Search); 298 AssertRCReturn(rc, UINT32_MAX); 299 300 301 uint32_t cCerts = 0; 302 PCRTCRCERTCTX pCur; 303 while ((pCur = pThis->pProvider->pfnCertSearchNext(pThis->pvProvider, &Search)) != NULL) 304 { 305 RTCrCertCtxRelease(pCur); 306 cCerts++; 307 } 308 309 return cCerts; 310 } 311 312 290 313 #ifdef IPRT_WITH_OPENSSL 291 314 /*
Note:
See TracChangeset
for help on using the changeset viewer.