Lines Matching defs:bio
16 static void copy_flags(BIO *bio)
19 BIO *next = BIO_next(bio);
22 BIO_clear_flags(bio, BIO_FLAGS_SHOULD_RETRY | BIO_FLAGS_RWS);
23 BIO_set_flags(bio, flags);
26 static int tls_corrupt_read(BIO *bio, char *out, int outl)
29 BIO *next = BIO_next(bio);
32 copy_flags(bio);
37 static int tls_corrupt_write(BIO *bio, const char *in, int inl)
40 BIO *next = BIO_next(bio);
53 copy_flags(bio);
58 static long tls_corrupt_ctrl(BIO *bio, int cmd, long num, void *ptr)
61 BIO *next = BIO_next(bio);
77 static int tls_corrupt_gets(BIO *bio, char *buf, int size)
83 static int tls_corrupt_puts(BIO *bio, const char *str)
89 static int tls_corrupt_new(BIO *bio)
91 BIO_set_init(bio, 1);
96 static int tls_corrupt_free(BIO *bio)
98 BIO_set_init(bio, 0);