Home | History | Annotate | Download | only in apps

Lines Matching defs:mbuf

295 	char *cbuf=NULL,*sbuf=NULL,*mbuf=NULL;
374 ((mbuf=OPENSSL_malloc(BUFSIZZ)) == NULL))
961 mbuf_len = BIO_gets(fbio,mbuf,BUFSIZZ);
963 while (mbuf_len>3 && mbuf[3]=='-');
970 mbuf_len = BIO_gets(fbio,mbuf,BUFSIZZ);
971 if (strstr(mbuf,"STARTTLS"))
974 while (mbuf_len>3 && mbuf[3]=='-');
987 BIO_read(sbio,mbuf,BUFSIZZ);
996 BIO_gets(fbio,mbuf,BUFSIZZ);
1003 mbuf_len = BIO_gets(fbio,mbuf,BUFSIZZ);
1004 if (strstr(mbuf,"STARTTLS"))
1007 while (mbuf_len>3 && mbuf[0]!='.');
1025 mbuf_len = BIO_gets(fbio,mbuf,BUFSIZZ);
1027 while (mbuf_len>3 && mbuf[3]=='-');
1040 seen = BIO_read(sbio,mbuf,BUFSIZZ);
1041 mbuf[seen] = 0;
1042 while (!strstr(mbuf, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'"))
1044 if (strstr(mbuf, "/stream:features>"))
1046 seen = BIO_read(sbio,mbuf,BUFSIZZ);
1047 mbuf[seen] = 0;
1054 mbuf[0] = 0;
1095 BIO_printf(bio_err,"%s",mbuf);
1421 if (mbuf != NULL) { OPENSSL_cleanse(mbuf,BUFSIZZ); OPENSSL_free(mbuf); }