Lines Matching refs:ders
330 for (n = 0; n < inf->ders; n++) in lws_tls_jit_trust_inflight_destroy()
455 if (der && inf->ders < (int)LWS_ARRAY_SIZE(inf->der) && inf->refcount) { in lws_tls_jit_trust_got_cert_cb()
461 inf->kid[inf->ders].kid_len = (uint8_t)((skid_len > in lws_tls_jit_trust_got_cert_cb()
462 (uint8_t)sizeof(inf->kid[inf->ders].kid)) ? in lws_tls_jit_trust_got_cert_cb()
463 sizeof(inf->kid[inf->ders].kid) : skid_len); in lws_tls_jit_trust_got_cert_cb()
464 memcpy(inf->kid[inf->ders].kid, skid, in lws_tls_jit_trust_got_cert_cb()
465 inf->kid[inf->ders].kid_len); in lws_tls_jit_trust_got_cert_cb()
467 inf->der[inf->ders] = lws_malloc(der_len, __func__); in lws_tls_jit_trust_got_cert_cb()
468 if (!inf->der[inf->ders]) in lws_tls_jit_trust_got_cert_cb()
470 memcpy(inf->der[inf->ders], der, der_len); in lws_tls_jit_trust_got_cert_cb()
471 inf->der_len[inf->ders] = (short)der_len; in lws_tls_jit_trust_got_cert_cb()
472 inf->ders++; in lws_tls_jit_trust_got_cert_cb()
487 if (inf->refcount && inf->ders < (int)LWS_ARRAY_SIZE(inf->der)) in lws_tls_jit_trust_got_cert_cb()
490 if (!der && !inf->ders) { in lws_tls_jit_trust_got_cert_cb()
600 while (n < inf->ders) { in lws_tls_jit_trust_got_cert_cb()