Lines Matching defs:resp
123 char *buf, *resp;
154 resp = os_readfile("Cert/est-cacerts.txt", &resp_len);
155 if (resp == NULL) {
161 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len);
172 os_memcpy(pkcs7, resp, resp_len);
176 os_free(resp);
631 char *resp;
636 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len);
637 if (resp == NULL) {
642 attrs = base64_decode((unsigned char *) resp, resp_len,
644 os_free(resp);
679 char *buf, *resp, *req, *req2;
722 resp = http_post(ctx->http, buf, req, "application/pkcs10",
730 if (resp == NULL) {
735 wpa_printf(MSG_DEBUG, "EST simpleenroll response: %s", resp);
737 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len);
742 os_memcpy(pkcs7, resp, resp_len);
746 os_free(resp);