Lines Matching refs:libctx
50 static int do_handshake(OSSL_LIB_CTX *libctx) in do_handshake() argument
56 if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(), in do_handshake()
92 OSSL_LIB_CTX *libctx; in test_record_alloc_counts() local
94 libctx = OSSL_LIB_CTX_new(); in test_record_alloc_counts()
95 if (!TEST_ptr(libctx)) in test_record_alloc_counts()
98 ret = do_handshake(libctx); in test_record_alloc_counts()
100 OSSL_LIB_CTX_free(libctx); in test_record_alloc_counts()
101 libctx = NULL; in test_record_alloc_counts()
119 OSSL_LIB_CTX *libctx; in test_alloc_failures() local
121 libctx = OSSL_LIB_CTX_new(); in test_alloc_failures()
122 if (!TEST_ptr(libctx)) in test_alloc_failures()
125 do_handshake(libctx); in test_alloc_failures()
127 OSSL_LIB_CTX_free(libctx); in test_alloc_failures()
128 libctx = NULL; in test_alloc_failures()