Lines Matching defs:serverctx
827 SSL_CTX *serverctx = NULL;
832 serverctx = *sctx;
833 else if (!TEST_ptr(serverctx = SSL_CTX_new_ex(libctx, NULL, sm))
834 || !TEST_true(SSL_CTX_set_options(serverctx,
858 if (serverctx != NULL
860 && !TEST_true(SSL_CTX_set_min_proto_version(serverctx,
863 && !TEST_true(SSL_CTX_set_max_proto_version(serverctx,
875 if (serverctx != NULL && certfile != NULL && privkeyfile != NULL) {
876 if (!TEST_int_eq(SSL_CTX_use_certificate_file(serverctx, certfile,
878 || !TEST_int_eq(SSL_CTX_use_PrivateKey_file(serverctx,
881 || !TEST_int_eq(SSL_CTX_check_private_key(serverctx), 1))
886 *sctx = serverctx;
893 SSL_CTX_free(serverctx);
974 int create_ssl_objects2(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl,
982 else if (!TEST_ptr(serverssl = SSL_new(serverctx)))
1011 int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl,
1019 else if (!TEST_ptr(serverssl = SSL_new(serverctx)))