Searched refs:firstCertInfo (Results 1 - 1 of 1) sorted by relevance
/base/security/certificate_manager/test/unittest/src/ |
H A D | cm_get_certinfo_test.cpp | 143 struct CertInfo firstCertInfo, secondCertInfo; in HWTEST_F() local 146 (void)memset_s(&firstCertInfo, len, 0, len); in HWTEST_F() 147 int32_t ret = InitCertInfo(&firstCertInfo); in HWTEST_F() 148 EXPECT_EQ(ret, CM_SUCCESS) << "firstCertInfo malloc faild, retcode:" << ret; in HWTEST_F() 154 ret = CmGetCertInfo(&uriBlob, CM_SYSTEM_TRUSTED_STORE, &firstCertInfo); in HWTEST_F() 160 EXPECT_EQ(CompareCertInfo(&firstCertInfo, &secondCertInfo), true) << "Diffrent app do not get the same cert."; in HWTEST_F() 161 FreeCMBlobData(&(firstCertInfo.certInfo)); in HWTEST_F()
|
Completed in 1 milliseconds