Home | History | Annotate | Download | only in client

Lines Matching defs:txt

113 	res = http_download_file(ctx->http, buf, "Cert/est-cacerts.txt",
128 resp = os_readfile("Cert/est-cacerts.txt", &resp_len);
130 wpa_printf(MSG_INFO, "Could not read Cert/est-cacerts.txt");
166 unlink("Cert/est-cacerts.txt");
222 char txt[100];
228 res = OBJ_obj2txt(txt, sizeof(txt), oid, 1);
229 if (res < 0 || res >= (int) sizeof(txt))
232 if (os_strcmp(txt, "1.2.840.113549.1.9.7") == 0) {
234 } else if (os_strcmp(txt, "1.2.840.113549.1.1.11") == 0) {
237 wpa_printf(MSG_INFO, "Ignore unsupported csrattr oid %s", txt);
246 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.3.6.1.1.1.1.22") == 0) {
259 } else if (os_strcmp(txt, "1.3.6.1.4.1.40808.1.1.3") == 0) {
261 } else if (os_strcmp(txt, "1.3.6.1.4.1.40808.1.1.4") == 0) {
263 } else if (os_strcmp(txt, "1.3.6.1.4.1.40808.1.1.5") == 0) {
267 txt);
276 char txt[100], txt2[100];
282 res = OBJ_obj2txt(txt, sizeof(txt), attr->type, 1);
283 if (res < 0 || res >= (int) sizeof(txt))
286 if (os_strcmp(txt, "1.2.840.113549.1.9.14") == 0) {
300 txt, txt2);
454 char *txt;
459 txt = os_malloc(rlen + 1);
460 if (txt) {
461 int res = BIO_read(out, txt, rlen);
463 txt[res] = '\0';
465 txt);
467 os_free(txt);
560 res = http_download_file(ctx->http, buf, "Cert/est-csrattrs.txt",
575 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len);
589 unlink("Cert/est-csrattrs.txt");