Lines Matching refs:certs
47 if (certChain == nullptr || certChain->certs == nullptr) {
51 if (certChain->certs[j].data != nullptr) {
52 free(certChain->certs[j].data);
53 certChain->certs[j].data = nullptr;
56 if (certChain->certs != nullptr) {
57 free(certChain->certs);
58 certChain->certs = nullptr;
68 …certChain->certs = (struct OH_Huks_Blob *)malloc(sizeof(struct OH_Huks_Blob) * (certChain->certsCo…
69 if (certChain->certs == nullptr) {
73 certChain->certs[i].size = g_size;
74 certChain->certs[i].data = (uint8_t *)malloc(certChain->certs[i].size);
75 if (certChain->certs[i].data == nullptr) {
106 OH_Huks_Blob certs = { 0 };
107 OH_Huks_CertChain certChain = { &certs, 0 };