Lines Matching refs:txt
88 char *txt;
99 txt = os_malloc(len + 1);
100 if (txt == NULL)
102 os_memcpy(txt, buf, len);
103 txt[len] = '\0';
106 if (txt[len] == '\n' || txt[len] == '\r')
107 txt[len] = '\0';
111 wpa_printf(MSG_MSGDUMP, "%s[%s]", title, txt);
112 os_free(txt);
174 char *txt;
183 txt = os_malloc(rlen + 1);
184 if (txt) {
185 int res = BIO_read(out, txt, rlen);
187 txt[res] = '\0';
188 wpa_printf(MSG_MSGDUMP, "%s:\n%s", title, txt);
190 os_free(txt);
199 char txt[100];
212 res = OBJ_obj2txt(txt, sizeof(txt), o->type_id, 1);
213 if (res < 0 || res >= (int) sizeof(txt))
216 on->oid = os_strdup(txt);
465 char txt[100];
472 res = OBJ_obj2txt(txt, sizeof(txt), hash->hashAlg->algorithm, 1);
473 if (res < 0 || res >= (int) sizeof(txt))
484 n->alg_oid = os_strdup(txt);
536 char txt[100];
542 res = OBJ_obj2txt(txt, sizeof(txt),
544 if (res < 0 || res >= (int) sizeof(txt))
546 if (os_strcmp(txt, "2.16.840.1.101.3.4.2.1") == 0) {
1057 char *txt;
1066 txt = os_malloc(rlen + 1);
1067 if (!txt) {
1072 res = BIO_read(out, txt, rlen);
1074 txt[res] = '\0';
1075 wpa_printf(MSG_MSGDUMP, "OpenSSL: OCSP Response\n%s", txt);
1077 os_free(txt);
1082 static void tls_show_errors(const char *func, const char *txt)
1087 func, txt, ERR_error_string(ERR_get_error(), NULL));