Mercurial > dovecot > core-2.2
changeset 11552:a74f743e2c56 HEAD
auth: Fixed crash when a plugin was trying to register password scheme.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 15 Jun 2010 17:54:12 +0100 |
parents | 26594f6d784a |
children | 7a7bfdd708ff |
files | src/auth/main.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/main.c Tue Jun 15 15:08:19 2010 +0100 +++ b/src/auth/main.c Tue Jun 15 17:54:12 2010 +0100 @@ -98,6 +98,8 @@ 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 @@ lib_signals_ignore(SIGUSR2, TRUE); child_wait_init(); - password_schemes_init(); auth_worker_server_init(); auths_init(); auth_request_handler_init();