Home | History | Annotate | Download | only in utils

Lines Matching defs:txt

85 	char *txt;
96 txt = os_malloc(len + 1);
97 if (txt == NULL)
99 os_memcpy(txt, buf, len);
100 txt[len] = '\0';
103 if (txt[len] == '\n' || txt[len] == '\r')
104 txt[len] = '\0';
108 wpa_printf(MSG_MSGDUMP, "%s[%s]", title, txt);
109 os_free(txt);
171 char *txt;
180 txt = os_malloc(rlen + 1);
181 if (txt) {
182 int res = BIO_read(out, txt, rlen);
184 txt[res] = '\0';
185 wpa_printf(MSG_MSGDUMP, "%s:\n%s", title, txt);
187 os_free(txt);
196 char txt[100];
209 res = OBJ_obj2txt(txt, sizeof(txt), o->type_id, 1);
210 if (res < 0 || res >= (int) sizeof(txt))
213 on->oid = os_strdup(txt);
439 char txt[100];
446 res = OBJ_obj2txt(txt, sizeof(txt), hash->hashAlg->algorithm, 1);
447 if (res < 0 || res >= (int) sizeof(txt))
458 n->alg_oid = os_strdup(txt);
510 char txt[100];
516 res = OBJ_obj2txt(txt, sizeof(txt),
518 if (res < 0 || res >= (int) sizeof(txt))
520 if (os_strcmp(txt, "2.16.840.1.101.3.4.2.1") == 0) {
997 char *txt;
1006 txt = os_malloc(rlen + 1);
1007 if (!txt) {
1012 res = BIO_read(out, txt, rlen);
1014 txt[res] = '\0';
1015 wpa_printf(MSG_MSGDUMP, "OpenSSL: OCSP Response\n%s", txt);
1017 os_free(txt);
1022 static void tls_show_errors(const char *func, const char *txt)
1027 func, txt, ERR_error_string(ERR_get_error(), NULL));