Searched refs:server_wbio (Results 1 - 6 of 6) sorted by relevance

/openbsd-current/regress/lib/libssl/verify/
H A Dverify.c183 BIO *client_wbio = NULL, *server_wbio = NULL; local
191 if ((server_wbio = BIO_new(BIO_s_mem())) == NULL) {
201 if (BIO_set_mem_eof_return(server_wbio, -1) <= 0) {
209 BIO_up_ref(server_wbio);
211 SSL_set_bio(client_ssl, server_wbio, client_wbio);
212 SSL_set_bio(server_ssl, client_wbio, server_wbio);
214 server_wbio = NULL;
220 BIO_free(server_wbio);
/openbsd-current/regress/lib/libssl/unit/
H A Dssl_get_shared_ciphers.c252 BIO *client_wbio = NULL, *server_wbio = NULL; local
260 if ((server_wbio = BIO_new(BIO_s_mem())) == NULL) {
270 if (BIO_set_mem_eof_return(server_wbio, -1) <= 0) {
278 BIO_up_ref(server_wbio);
280 SSL_set_bio(client_ssl, server_wbio, client_wbio);
281 SSL_set_bio(server_ssl, client_wbio, server_wbio);
283 server_wbio = NULL;
289 BIO_free(server_wbio);
/openbsd-current/regress/lib/libssl/shutdown/
H A Dshutdowntest.c366 BIO *client_wbio = NULL, *server_wbio = NULL; local
380 if ((server_wbio = BIO_new(BIO_s_mem())) == NULL)
382 if (BIO_set_mem_eof_return(server_wbio, -1) <= 0)
385 if ((client = tls_client(server_wbio, client_wbio)) == NULL)
392 if ((server = tls_server(client_wbio, server_wbio)) == NULL)
474 BIO_free(server_wbio);
485 BIO *client_wbio = NULL, *server_wbio = NULL; local
498 if ((server_wbio = BIO_new(BIO_s_mem())) == NULL)
500 if (BIO_set_mem_eof_return(server_wbio, -1) <= 0)
503 if ((client = tls_client(server_wbio, client_wbi
[all...]
/openbsd-current/regress/lib/libssl/quic/
H A Dquictest.c266 BIO *client_wbio = NULL, *server_wbio = NULL; local
275 if ((server_wbio = BIO_new(BIO_s_mem())) == NULL)
277 if (BIO_set_mem_eof_return(server_wbio, -1) <= 0)
283 client_data->rbio = server_wbio;
293 server_data->wbio = server_wbio;
310 BIO_free(server_wbio);
/openbsd-current/regress/lib/libssl/api/
H A Dapitest.c234 BIO *client_wbio = NULL, *server_wbio = NULL; local
243 if ((server_wbio = BIO_new(BIO_s_mem())) == NULL)
245 if (BIO_set_mem_eof_return(server_wbio, -1) <= 0)
248 if ((client = tls_client(server_wbio, client_wbio)) == NULL)
257 if ((server = tls_server(client_wbio, server_wbio)) == NULL)
337 BIO_free(server_wbio);
/openbsd-current/regress/lib/libssl/tls/
H A Dtlstest.c300 BIO *client_wbio = NULL, *server_wbio = NULL; local
311 if ((server_wbio = BIO_new(BIO_s_mem())) == NULL)
313 if (BIO_set_mem_eof_return(server_wbio, -1) <= 0)
316 if ((client = tls_client(server_wbio, client_wbio)) == NULL)
331 if ((server = tls_server(client_wbio, server_wbio)) == NULL)
372 BIO_free(server_wbio);

Completed in 361 milliseconds