Lines Matching defs:bio
163 crypto::BIOPointer bio = crypto::NodeBIO::NewFixed(ca.base, ca.len);
164 if (!bio) return false;
165 context->SetCACert(bio);
188 crypto::BIOPointer bio = crypto::NodeBIO::NewFixed(cert.base, cert.len);
189 if (!bio) return Just(false);
190 auto ret = context->AddCert(env, std::move(bio));
218 crypto::BIOPointer bio = crypto::NodeBIO::NewFixed(crl.base, crl.len);
219 if (!bio) return Just(false);
220 return context->SetCRL(env, bio);
234 void EnableTrace(Environment* env, crypto::BIOPointer* bio, SSL* ssl) {
243 if (!*bio) {
244 bio->reset(BIO_new_fp(stderr, BIO_NOCLOSE | BIO_FP_TEXT));
257 SSL_set_msg_callback_arg(ssl, bio->get());