Lines Matching refs:sctx

99     SSL_CTX *cctx = NULL, *sctx = NULL;  in test_rpk()  local
227 &sctx, &cctx, NULL, NULL))) in test_rpk()
231 if (!TEST_true(SSL_CTX_set1_server_cert_type(sctx, cert_type_rpk, sizeof(cert_type_rpk)))) in test_rpk()
234 if (!TEST_true(SSL_CTX_set1_client_cert_type(sctx, cert_type_rpk, sizeof(cert_type_rpk)))) in test_rpk()
242 if (!TEST_true(SSL_CTX_set_session_id_context(sctx, SID_CTX, sizeof(SID_CTX)))) in test_rpk()
247 if (!TEST_int_gt(SSL_CTX_dane_enable(sctx), 0)) in test_rpk()
255 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_rpk()
531 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_rpk()
628 SSL_CTX_free(sctx); in test_rpk()
646 SSL_CTX *cctx = NULL, *sctx = NULL; in test_rpk_api() local
662 &sctx, &cctx, NULL, NULL))) in test_rpk_api()
665 if (!TEST_false(SSL_CTX_set1_server_cert_type(sctx, cert_type_dups, sizeof(cert_type_dups)))) in test_rpk_api()
668 if (!TEST_false(SSL_CTX_set1_server_cert_type(sctx, cert_type_bad, sizeof(cert_type_bad)))) in test_rpk_api()
671 if (!TEST_false(SSL_CTX_set1_server_cert_type(sctx, cert_type_extra, sizeof(cert_type_extra)))) in test_rpk_api()
674 if (!TEST_false(SSL_CTX_set1_server_cert_type(sctx, cert_type_unsup, sizeof(cert_type_unsup)))) in test_rpk_api()
677 …if (!TEST_true(SSL_CTX_set1_server_cert_type(sctx, cert_type_just_x509, sizeof(cert_type_just_x509… in test_rpk_api()
680 …if (!TEST_true(SSL_CTX_set1_server_cert_type(sctx, cert_type_just_rpk, sizeof(cert_type_just_rpk))… in test_rpk_api()
685 SSL_CTX_free(sctx); in test_rpk_api()