Home
last modified time | relevance | path

Searched refs:serverctx (Results 1 – 4 of 4) sorted by relevance

/third_party/openssl/test/
Dsslbuffertest.c26 static SSL_CTX *serverctx = NULL; variable
55 if (!TEST_true(create_ssl_objects(serverctx, clientctx, &serverssl, &clientssl, in test_func()
170 &serverctx, &clientctx, cert, pkey)) { in setup_tests()
182 SSL_CTX_free(serverctx); in cleanup_tests()
Dssltestlib.c716 SSL_CTX *serverctx = NULL; in create_ssl_ctx_pair() local
719 if (!TEST_ptr(serverctx = SSL_CTX_new(sm)) in create_ssl_ctx_pair()
724 && !TEST_true(SSL_CTX_set_min_proto_version(serverctx, in create_ssl_ctx_pair()
727 && !TEST_true(SSL_CTX_set_max_proto_version(serverctx, in create_ssl_ctx_pair()
740 if (!TEST_int_eq(SSL_CTX_use_certificate_file(serverctx, certfile, in create_ssl_ctx_pair()
742 || !TEST_int_eq(SSL_CTX_use_PrivateKey_file(serverctx, in create_ssl_ctx_pair()
745 || !TEST_int_eq(SSL_CTX_check_private_key(serverctx), 1)) in create_ssl_ctx_pair()
750 SSL_CTX_set_dh_auto(serverctx, 1); in create_ssl_ctx_pair()
753 *sctx = serverctx; in create_ssl_ctx_pair()
759 SSL_CTX_free(serverctx); in create_ssl_ctx_pair()
[all …]
Dasynciotest.c291 SSL_CTX *serverctx = NULL, *clientctx = NULL; in test_asyncio() local
301 &serverctx, &clientctx, cert, privkey))) in test_asyncio()
324 if (!TEST_true(create_ssl_objects(serverctx, clientctx, &serverssl, in test_asyncio()
391 SSL_CTX_free(serverctx); in test_asyncio()
Dssltestlib.h19 int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl,