Lines Matching refs:trust
43 *trustmap, /* trust store map */
263 * How about his trust store, it's new to us?
266 if (pol->trust.store) {
269 if (a->orig == (const char *)pol->trust.store)
284 a->orig = (const char *)pol->trust.store;
292 for (n = 0; n < pol->trust.store->count; n++) {
293 if (!pol->trust.store->ssx509[n])
297 if (a1->orig == (const char *)pol->trust.store->ssx509[n])
313 a1->orig = (const char *)pol->trust.store->ssx509[n];
317 purify_csymbol(pol->trust.store->ssx509[n]->vhost_name,
320 for (m = 0; m < (int)pol->trust.store->ssx509[n]->ca_der_len; m++) {
324 printf("0x%02X, ", pol->trust.store->ssx509[n]->ca_der[m]);
330 purify_csymbol(pol->trust.store->ssx509[n]->vhost_name,
332 printf("\t.vhost_name = \"%s\",\n", pol->trust.store->ssx509[n]->vhost_name);
334 purify_csymbol(pol->trust.store->ssx509[n]->vhost_name,
336 printf("\t.ca_der_len = %zu,\n", pol->trust.store->ssx509[n]->ca_der_len);
339 est += sizeof(lws_ss_x509_t) + pol->trust.store->ssx509[n]->ca_der_len;
346 purify_csymbol(pol->trust.store->name,
349 printf("\t.name = \"%s\",\n", pol->trust.store->name);
350 printf("\t.count = %d,\n", pol->trust.store->count);
353 for (n = pol->trust.store->count - 1; n >= 0 ; n--)
355 pol->trust.store->ssx509[n]->vhost_name);
651 if (pol->trust.store)
652 printf("\t.trust = {.store = &_ss_ts_%s},\n",
653 purify_csymbol(pol->trust.store->name,