summaryrefslogtreecommitdiff
path: root/code/test/init_vconn.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/test/init_vconn.c')
-rw-r--r--code/test/init_vconn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/test/init_vconn.c b/code/test/init_vconn.c
index 29c8db5..7e3dd04 100644
--- a/code/test/init_vconn.c
+++ b/code/test/init_vconn.c
@@ -31,12 +31,12 @@ static void conn_free(ECPConnection *conn) {
int ecp_init(ECPContext *ctx) {
int rv;
- rv = ecp_ctx_create(ctx);
+ rv = ecp_ctx_create_vconn(ctx);
if (rv) return rv;
ctx->rng = v_rng;
ctx->conn_alloc = conn_alloc;
ctx->conn_free = conn_free;
- return ecp_ctx_vconn_init(ctx);
+ return ECP_OK;
} \ No newline at end of file