Searched refs:clientctx (Results 1 – 4 of 4) sorted by relevance
/third_party/openssl/test/ |
D | sslbuffertest.c | 27 static SSL_CTX *clientctx = NULL; variable 55 if (!TEST_true(create_ssl_objects(serverctx, clientctx, &serverssl, &clientssl, in test_func() 170 &serverctx, &clientctx, cert, pkey)) { in setup_tests() 181 SSL_CTX_free(clientctx); in cleanup_tests()
|
D | ssltestlib.c | 717 SSL_CTX *clientctx = NULL; in create_ssl_ctx_pair() local 720 || (cctx != NULL && !TEST_ptr(clientctx = SSL_CTX_new(cm)))) in create_ssl_ctx_pair() 730 if (clientctx != NULL in create_ssl_ctx_pair() 732 && !TEST_true(SSL_CTX_set_min_proto_version(clientctx, in create_ssl_ctx_pair() 735 && !TEST_true(SSL_CTX_set_max_proto_version(clientctx, in create_ssl_ctx_pair() 755 *cctx = clientctx; in create_ssl_ctx_pair() 760 SSL_CTX_free(clientctx); in create_ssl_ctx_pair() 769 int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl, in create_ssl_objects() argument 781 else if (!TEST_ptr(clientssl = SSL_new(clientctx))) in create_ssl_objects()
|
D | asynciotest.c | 291 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() 390 SSL_CTX_free(clientctx); in test_asyncio()
|
D | ssltestlib.h | 19 int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl,
|