From: Aki Tuomi Date: Tue, 11 Mar 2025 07:23:20 +0000 (+0200) Subject: lib-auth: Move password scheme code back to lib-auth X-Git-Tag: 2.4.1~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41f65c0e479579db8c364a3f53f9008a2bc4c2b8;p=thirdparty%2Fdovecot%2Fcore.git lib-auth: Move password scheme code back to lib-auth Keep all code that require some dependency in libauth-crypt. Removes sodium and crypt support from password schemes unless explicitly enabled. --- diff --git a/src/lib-auth/Makefile.am b/src/lib-auth/Makefile.am index 6bd48eb912..8769563f2d 100644 --- a/src/lib-auth/Makefile.am +++ b/src/lib-auth/Makefile.am @@ -9,17 +9,18 @@ AM_CPPFLAGS = \ libauth_la_SOURCES = \ auth-scram.c \ auth-scram-client.c \ - auth-scram-server.c - -libauth_crypt_la_SOURCES = \ + auth-scram-server.c \ crypt-blowfish.c \ - mycrypt.c \ password-scheme.c \ - password-scheme-crypt.c \ password-scheme-md5crypt.c \ password-scheme-scram.c \ password-scheme-otp.c \ - password-scheme-pbkdf2.c \ + password-scheme-pbkdf2.c + +libauth_crypt_la_SOURCES = \ + mycrypt.c \ + password-scheme.c \ + password-scheme-crypt.c \ password-scheme-sodium.c libauth_crypt_la_LIBADD = \