Home | History | Annotate | Download | only in client

Lines Matching refs:resp

97 	char *buf, *resp;
128 resp = os_readfile("Cert/est-cacerts.txt", &resp_len);
129 if (resp == NULL) {
135 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len);
146 os_memcpy(pkcs7, resp, resp_len);
150 os_free(resp);
570 char *resp;
575 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len);
576 if (resp == NULL) {
581 attrs = base64_decode((unsigned char *) resp, resp_len,
583 os_free(resp);
618 char *buf, *resp, *req, *req2;
662 resp = http_post(ctx->http, buf, req, "application/pkcs10",
670 if (resp == NULL) {
675 wpa_printf(MSG_DEBUG, "EST simpleenroll response: %s", resp);
676 f = fopen("Cert/est-resp.raw", "w");
678 fwrite(resp, resp_len, 1, f);
682 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len);
687 os_memcpy(pkcs7, resp, resp_len);
691 os_free(resp);