Home | History | Annotate | Download | only in client

Lines Matching refs:txt

138 	res = http_download_file(ctx->http, buf, "Cert/est-cacerts.txt",
153 resp = os_readfile("Cert/est-cacerts.txt", &resp_len);
155 wpa_printf(MSG_INFO, "Could not read Cert/est-cacerts.txt");
191 unlink("Cert/est-cacerts.txt");
247 char txt[100];
253 res = OBJ_obj2txt(txt, sizeof(txt), oid, 1);
254 if (res < 0 || res >= (int) sizeof(txt))
257 if (os_strcmp(txt, "1.2.840.113549.1.9.7") == 0) {
259 } else if (os_strcmp(txt, "1.2.840.113549.1.1.11") == 0) {
262 wpa_printf(MSG_INFO, "Ignore unsupported csrattr oid %s", txt);
271 char txt[100];
278 res = OBJ_obj2txt(txt, sizeof(txt), oid, 1);
279 if (res < 0 || res >= (int) sizeof(txt))
282 if (os_strcmp(txt, "1.3.6.1.1.1.1.22") == 0) {
284 } else if (os_strcmp(txt, "1.3.6.1.4.1.40808.1.1.3") == 0) {
286 } else if (os_strcmp(txt, "1.3.6.1.4.1.40808.1.1.4") == 0) {
288 } else if (os_strcmp(txt, "1.3.6.1.4.1.40808.1.1.5") == 0) {
292 txt);
301 char txt[100], txt2[100];
307 res = OBJ_obj2txt(txt, sizeof(txt), attr->type, 1);
308 if (res < 0 || res >= (int) sizeof(txt))
311 if (os_strcmp(txt, "1.2.840.113549.1.9.14") == 0) {
325 txt, txt2);
498 char *txt;
505 txt = os_malloc(rlen + 1);
506 if (txt) {
507 int res = BIO_read(out, txt, rlen);
509 txt[res] = '\0';
511 txt);
513 os_free(txt);
608 res = http_download_file(ctx->http, buf, "Cert/est-csrattrs.txt",
623 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len);
637 unlink("Cert/est-csrattrs.txt");