Lines Matching refs:chain
40 static BIO **chain = NULL; variable
86 if (!BIO_write_ex(chain[amount - 1], buf, bytes_in, &bytes)) in run_pipe()
99 chain = OPENSSL_zalloc(sizeof(*chain) * n); in setup_bio_chain()
101 if (chain != NULL) { in setup_bio_chain()
112 chain[i] = BIO_push(curr, next); in setup_bio_chain()
113 if (chain[i] == NULL) in setup_bio_chain()
115 next = chain[i]; in setup_bio_chain()
118 return chain != NULL; in setup_bio_chain()
122 OPENSSL_free(chain); in setup_bio_chain()
128 if (chain != NULL) { in cleanup()
129 BIO_free_all(chain[amount - 1]); in cleanup()
130 OPENSSL_free(chain); in cleanup()
183 if (chain == NULL) { in setup()
214 if (BIO_set_indent(chain[idx], (long)indent) <= 0) { in setup()
221 if (chain == NULL) { in setup()
245 if (BIO_set_prefix(chain[idx], colon) <= 0) { in setup()