Lines Matching defs:bound
103 static int mime_bound_check(char *line, int linelen, char *bound, int blen);
104 static int multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret);
151 char bound[33], c;
166 RAND_pseudo_bytes((unsigned char *)bound, 32);
168 c = bound[i] & 0xf;
171 bound[i] = c;
173 bound[32] = 0;
178 bound, mime_eol, mime_eol);
182 BIO_printf(bio, "------%s%s", bound, mime_eol);
184 BIO_printf(bio, "%s------%s%s", mime_eol, bound, mime_eol);
196 BIO_printf(bio,"%s------%s--%s%s", mime_eol, bound,
435 static int multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret)
444 blen = strlen(bound);
451 state = mime_bound_check(linebuf, len, bound, blen);
743 static int mime_bound_check(char *line, int linelen, char *bound, int blen)
746 if(blen == -1) blen = strlen(bound);
750 if(!strncmp(line, "--", 2) && !strncmp(line + 2, bound, blen)) {