Lines Matching refs:tmpcerts
1873 gnutls_x509_crt_t *tmpcerts = NULL, *tmpcerts2; in gnutls_ocsp_resp_get_certs() local
1881 tmpcerts = gnutls_malloc(sizeof(*tmpcerts)); in gnutls_ocsp_resp_get_certs()
1882 if (tmpcerts == NULL) { in gnutls_ocsp_resp_get_certs()
1902 gnutls_realloc_fast(tmpcerts, in gnutls_ocsp_resp_get_certs()
1903 (ctr + 2) * sizeof(*tmpcerts)); in gnutls_ocsp_resp_get_certs()
1909 tmpcerts = tmpcerts2; in gnutls_ocsp_resp_get_certs()
1911 ret = gnutls_x509_crt_init(&tmpcerts[ctr]); in gnutls_ocsp_resp_get_certs()
1918 ret = gnutls_x509_crt_import(tmpcerts[ctr - 1], &c, in gnutls_ocsp_resp_get_certs()
1928 tmpcerts[ctr] = NULL; in gnutls_ocsp_resp_get_certs()
1933 *certs = tmpcerts; in gnutls_ocsp_resp_get_certs()
1945 gnutls_x509_crt_deinit(tmpcerts[i]); in gnutls_ocsp_resp_get_certs()
1946 gnutls_free(tmpcerts); in gnutls_ocsp_resp_get_certs()