From 06aad98ff0aa55c39ba80fe829bc765af154c736 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 3 Sep 2020 15:56:14 +0200 Subject: [PATCH] tls-test: Make plugin list configurable via environment variable --- scripts/tls_test.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/tls_test.c b/scripts/tls_test.c index 4e3a1ccfa4..f95494683c 100644 --- a/scripts/tls_test.c +++ b/scripts/tls_test.c @@ -256,11 +256,14 @@ static void cleanup() */ static void init() { + char *plugins; + library_init(NULL, "tls_test"); dbg = dbg_tls; - lib->plugins->load(lib->plugins, PLUGINS); + plugins = getenv("PLUGINS") ?: PLUGINS; + lib->plugins->load(lib->plugins, plugins); creds = mem_cred_create(); lib->credmgr->add_set(lib->credmgr, &creds->set); -- 2.47.2