Lines Matching refs:txt
139 res = http_download_file(ctx->http, buf, "Cert/est-cacerts.txt",
154 resp = os_readfile("Cert/est-cacerts.txt", &resp_len);
156 wpa_printf(MSG_INFO, "Could not read Cert/est-cacerts.txt");
192 unlink("Cert/est-cacerts.txt");
252 char txt[100];
258 res = OBJ_obj2txt(txt, sizeof(txt), oid, 1);
259 if (res < 0 || res >= (int) sizeof(txt))
262 if (os_strcmp(txt, "1.2.840.113549.1.9.7") == 0) {
264 } else if (os_strcmp(txt, "1.2.840.113549.1.1.11") == 0) {
267 wpa_printf(MSG_INFO, "Ignore unsupported csrattr oid %s", txt);
276 char txt[100];
283 res = OBJ_obj2txt(txt, sizeof(txt), oid, 1);
284 if (res < 0 || res >= (int) sizeof(txt))
287 if (os_strcmp(txt, "1.3.6.1.1.1.1.22") == 0) {
289 } else if (os_strcmp(txt, "1.3.6.1.4.1.40808.1.1.3") == 0) {
291 } else if (os_strcmp(txt, "1.3.6.1.4.1.40808.1.1.4") == 0) {
293 } else if (os_strcmp(txt, "1.3.6.1.4.1.40808.1.1.5") == 0) {
297 txt);
306 char txt[100], txt2[100];
312 res = OBJ_obj2txt(txt, sizeof(txt), attr->type, 1);
313 if (res < 0 || res >= (int) sizeof(txt))
316 if (os_strcmp(txt, "1.2.840.113549.1.9.14") == 0) {
330 txt, txt2);
511 char *txt;
518 txt = os_malloc(rlen + 1);
519 if (txt) {
520 int res = BIO_read(out, txt, rlen);
522 txt[res] = '\0';
524 txt);
526 os_free(txt);
621 res = http_download_file(ctx->http, buf, "Cert/est-csrattrs.txt",
636 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len);
650 unlink("Cert/est-csrattrs.txt");