]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
login-common: Rename sasl-server.[ch] to sasl-proxy.[ch] main
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 3 Aug 2026 12:49:56 +0000 (12:49 +0000)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 5 Aug 2026 07:52:46 +0000 (07:52 +0000)
commite1cbf37c86a5455b541ea07ec235a06ac21e396c
treeeb3b35e7b86f90cf23d6cc0bdd7da07eb1d9fc93
parentf881d213d80e23e5b1f8717a5d389bb8a38cf673
login-common: Rename sasl-server.[ch] to sasl-proxy.[ch]

Both lib-sasl and login-common had a sasl-server.h and both were installed
into $(pkgincludedir), so one overwrote the other. They also shared the same
SASL_SERVER_H include guard, and since login-common builds with -I on
lib-sasl, the unqualified #include "sasl-server.h" was ambiguous.

Rename the login-common header and source and change the symbol prefix from
sasl_server_ to sasl_proxy_. The login process doesn't implement SASL itself,
it only proxies the SASL exchange between the client and the auth process.
12 files changed:
src/imap-login/client-authenticate.c
src/imap-login/imap-login-client.c
src/login-common/Makefile.am
src/login-common/client-common-auth.c
src/login-common/client-common.c
src/login-common/client-common.h
src/login-common/sasl-proxy.c [moved from src/login-common/sasl-server.c with 85% similarity]
src/login-common/sasl-proxy.h [new file with mode: 0644]
src/login-common/sasl-server.h [deleted file]
src/pop3-login/client-authenticate.c
src/pop3-login/client.c
src/submission-login/client-authenticate.c