Home | History | Annotate | Download | only in utils

Lines Matching refs:txt

96 	char *txt;
107 txt = os_malloc(len + 1);
108 if (txt == NULL)
110 os_memcpy(txt, buf, len);
111 txt[len] = '\0';
114 if (txt[len] == '\n' || txt[len] == '\r')
115 txt[len] = '\0';
119 wpa_printf(MSG_MSGDUMP, "%s[%s]", title, txt);
120 os_free(txt);
182 char *txt;
191 txt = os_malloc(rlen + 1);
192 if (txt) {
193 int res = BIO_read(out, txt, rlen);
195 txt[res] = '\0';
196 wpa_printf(MSG_MSGDUMP, "%s:\n%s", title, txt);
198 os_free(txt);
207 char txt[100];
220 res = OBJ_obj2txt(txt, sizeof(txt), o->type_id, 1);
221 if (res < 0 || res >= (int) sizeof(txt))
224 on->oid = os_strdup(txt);
481 char txt[100];
488 res = OBJ_obj2txt(txt, sizeof(txt), hash->hashAlg->algorithm, 1);
489 if (res < 0 || res >= (int) sizeof(txt))
500 n->alg_oid = os_strdup(txt);
552 char txt[100];
558 res = OBJ_obj2txt(txt, sizeof(txt),
560 if (res < 0 || res >= (int) sizeof(txt))
562 if (os_strcmp(txt, "2.16.840.1.101.3.4.2.1") == 0) {
1071 char *txt;
1080 txt = os_malloc(rlen + 1);
1081 if (!txt) {
1086 res = BIO_read(out, txt, rlen);
1088 txt[res] = '\0';
1089 wpa_printf(MSG_MSGDUMP, "OpenSSL: OCSP Response\n%s", txt);
1091 os_free(txt);
1096 static void tls_show_errors(const char *func, const char *txt)
1101 func, txt, ERR_error_string(ERR_get_error(), NULL));