Lines Matching refs:bssl
142 static bssl::UniquePtr<EVP_PKEY> LoadPrivateKey(const std::string &file) {
143 bssl::UniquePtr<BIO> bio(BIO_new(BIO_s_file()));
147 bssl::UniquePtr<EVP_PKEY> pkey(PEM_read_bio_PrivateKey(bio.get(), nullptr,
166 static bssl::UniquePtr<BIO> session_out;
167 static bssl::UniquePtr<SSL_SESSION> resume_session;
178 resume_session = bssl::UniquePtr<SSL_SESSION>(session);
240 bssl::UniquePtr<BIO> bio(BIO_new_socket(sock, BIO_CLOSE));
241 bssl::UniquePtr<SSL> ssl(SSL_new(ctx));
248 bssl::UniquePtr<BIO> in(BIO_new_file(args_map["-session-in"].c_str(),
255 bssl::UniquePtr<SSL_SESSION> session(PEM_read_bio_SSL_SESSION(in.get(),
312 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(SSLv23_client_method()));
409 bssl::UniquePtr<EVP_PKEY> pkey =