Lines Matching refs:certs
49 if (certChain == nullptr || certChain->certs == nullptr) {
53 if (certChain->certs[j].data != nullptr) {
54 free(certChain->certs[j].data);
55 certChain->certs[j].data = nullptr;
58 if (certChain->certs != nullptr) {
59 free(certChain->certs);
60 certChain->certs = nullptr;
70 …certChain->certs = (struct OH_Huks_Blob *)malloc(sizeof(struct OH_Huks_Blob) * (certChain->certsCo…
71 if (certChain->certs == nullptr) {
75 certChain->certs[i].size = g_size;
76 certChain->certs[i].data = (uint8_t *)malloc(certChain->certs[i].size);
77 if (certChain->certs[i].data == nullptr) {
108 OH_Huks_Blob certs = { 0 };
109 OH_Huks_CertChain certChain = { &certs, 0 };