]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-auth: Move password scheme code back to lib-auth
authorAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 11 Mar 2025 07:23:20 +0000 (09:23 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 11 Mar 2025 17:57:44 +0000 (19:57 +0200)
Keep all code that require some dependency in libauth-crypt.

Removes sodium and crypt support from password schemes unless
explicitly enabled.

src/lib-auth/Makefile.am

index 6bd48eb912d8fdb8ef3933d8132cd1735acfe132..8769563f2d2d61cdba1c03a155a64c3b209c8724 100644 (file)
@@ -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 = \