Home
last modified time | relevance | path

Searched refs:secondCertInfo (Results 1 - 1 of 1) sorted by relevance

/base/security/certificate_manager/test/unittest/src/
H A Dcm_get_certinfo_test.cpp143 struct CertInfo firstCertInfo, secondCertInfo; in HWTEST_F() local
150 (void)memset_s(&secondCertInfo, len, 0, len); in HWTEST_F()
151 ret = InitCertInfo(&secondCertInfo); in HWTEST_F()
152 EXPECT_EQ(ret, CM_SUCCESS) << "secondCertInfo malloc faild, retcode:" << ret; in HWTEST_F()
157 ret = CmGetCertInfo(&uriBlob, CM_SYSTEM_TRUSTED_STORE, &secondCertInfo); in HWTEST_F()
160 EXPECT_EQ(CompareCertInfo(&firstCertInfo, &secondCertInfo), true) << "Diffrent app do not get the same cert."; in HWTEST_F()
162 FreeCMBlobData(&(secondCertInfo.certInfo)); in HWTEST_F()

Completed in 2 milliseconds