• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/crypto/openssl/apps/

Lines Matching refs:mbuf

901     char *mbuf = NULL, *proxystr = NULL, *connectstr = NULL, *bindstr = NULL;
1011 mbuf = app_malloc(BUFSIZZ, "mbuf");
2199 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ);
2200 } while (mbuf_len > 3 && mbuf[3] == '-');
2213 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ);
2214 if (strstr(mbuf, "STARTTLS"))
2216 } while (mbuf_len > 3 && mbuf[3] == '-');
2230 BIO_read(sbio, mbuf, BUFSIZZ);
2245 BIO_gets(fbio, mbuf, BUFSIZZ);
2251 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ);
2252 if (strstr(mbuf, "STARTTLS"))
2255 while (mbuf_len > 3 && mbuf[0] != '.');
2274 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ);
2276 while (mbuf_len > 3 && (!isdigit(mbuf[0]) || !isdigit(mbuf[1]) || !isdigit(mbuf[2]) || mbuf[3] != ' '));
2293 seen = BIO_read(sbio, mbuf, BUFSIZZ);
2298 mbuf[seen] = '\0';
2300 (mbuf, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'")
2301 && !strstr(mbuf,
2304 seen = BIO_read(sbio, mbuf, BUFSIZZ);
2309 mbuf[seen] = '\0';
2321 mbuf[0] = '\0';
2341 bytes = BIO_read(sbio, mbuf, BUFSIZZ);
2342 if (bytes != 3 || memcmp(mbuf, tls_do, 3) != 0)
2349 bytes = BIO_read(sbio, mbuf, BUFSIZZ);
2350 if (bytes != 6 || memcmp(mbuf, tls_follows, 6) != 0)
2372 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ);
2382 if (mbuf[8] != ' ') {
2387 } else if (mbuf[9] != '2') {
2389 &mbuf[9]);
2396 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ);
2442 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ);
2443 if (mbuf_len < 1 || sscanf(mbuf, "%*s %d", &numeric) != 1)
2448 && strstr(mbuf, "STARTTLS") != NULL) {
2449 BIO_printf(bio_err, "STARTTLS not supported: %s", mbuf);
2573 BIO_gets(fbio, mbuf, BUFSIZZ);
2579 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ);
2580 if (strstr(mbuf, "STARTTLS"))
2582 } while (mbuf_len > 1 && mbuf[0] != '.');
2591 mbuf_len = BIO_read(sbio, mbuf, BUFSIZZ);
2596 mbuf[mbuf_len] = '\0';
2597 if (strstr(mbuf, "382") == NULL) {
2598 BIO_printf(bio_err, "STARTTLS failed: %s", mbuf);
2611 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ);
2616 if (mbuf_len > 1 && mbuf[0] == '"') {
2617 make_uppercase(mbuf);
2618 if (strncmp(mbuf, "\"STARTTLS\"", 10) == 0)
2621 } while (mbuf_len > 1 && mbuf[0] == '"');
2630 mbuf_len = BIO_read(sbio, mbuf, BUFSIZZ);
2635 mbuf[mbuf_len] = '\0';
2637 BIO_printf(bio_err, "STARTTLS failed: %s", mbuf);
2644 strncpy(sbuf, mbuf, 2);
2647 BIO_printf(bio_err, "STARTTLS not supported: %s", mbuf);
2704 mbuf_len = BIO_read(sbio, mbuf, BUFSIZZ);
2709 result = ldap_ExtendedResponse_parse(mbuf, mbuf_len);
2788 BIO_write(bio_err, mbuf, mbuf_len);
3163 OPENSSL_clear_free(mbuf, BUFSIZZ);