From 12c40a1a042d4de180b3dcef6002a8d0cf02d152 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 15 Jun 2010 17:54:12 +0100 Subject: [PATCH] auth: Fixed crash when a plugin was trying to register password scheme. --HG-- branch : HEAD --- src/auth/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/auth/main.c b/src/auth/main.c index 230ddfd05c..9f707e96fd 100644 --- a/src/auth/main.c +++ b/src/auth/main.c @@ -98,6 +98,8 @@ static void main_preinit(void) only by root. Also load all modules here. */ passdbs_init(); userdbs_init(); + /* init schemes before plugins are loaded */ + password_schemes_init(); services = read_global_settings(); @@ -131,7 +133,6 @@ static void main_init(void) lib_signals_ignore(SIGUSR2, TRUE); child_wait_init(); - password_schemes_init(); auth_worker_server_init(); auths_init(); auth_request_handler_init(); -- 2.47.3