]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: sasl-server - Add sasl_server_ prefix to mech_generic_auth_free()
authorStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 6 Mar 2023 21:33:49 +0000 (22:33 +0100)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Thu, 9 Oct 2025 08:41:22 +0000 (08:41 +0000)
12 files changed:
src/auth/auth-sasl-mech-apop.c
src/auth/auth-sasl-mech-dovecot-token.c
src/auth/sasl-server-mech-anonymous.c
src/auth/sasl-server-mech-cram-md5.c
src/auth/sasl-server-mech-digest-md5.c
src/auth/sasl-server-mech-external.c
src/auth/sasl-server-mech-login.c
src/auth/sasl-server-mech-oauth2.c
src/auth/sasl-server-mech-plain.c
src/auth/sasl-server-mech-winbind.c
src/auth/sasl-server-mech.c
src/auth/sasl-server-protected.h

index d00533ee2797a9d1dc7feadb14ef073ddd0df628..ad74b90582aa6a657eaa6b9cf1bf5d61d3b06e63 100644 (file)
@@ -167,5 +167,5 @@ const struct mech_module mech_apop = {
 
        .auth_new = mech_apop_auth_new,
        .auth_initial = mech_apop_auth_initial,
-       .auth_free = mech_generic_auth_free
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
index e48c609f2ee8860cb39b438959f535c41abc3e60..cf6a638e321034d2cb16f80bae686047c64acf3b 100644 (file)
@@ -88,5 +88,5 @@ const struct mech_module mech_dovecot_token = {
        .auth_new = mech_dovecot_token_auth_new,
        .auth_initial = mech_generic_auth_initial,
        .auth_continue = mech_dovecot_token_auth_continue,
-       .auth_free = mech_generic_auth_free
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
index d0a729bb60eb8401eabaf392701f33e54158622d..cb4c15e7634cdb9a6057001098d307ccb33592aa 100644 (file)
@@ -41,5 +41,5 @@ const struct mech_module mech_anonymous = {
        .auth_new = mech_anonymous_auth_new,
        .auth_initial = mech_generic_auth_initial,
        .auth_continue = mech_anonymous_auth_continue,
-       .auth_free = mech_generic_auth_free,
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
index 32d9ea281bd2d0b0c2c07bca4446c1f08c985034..b479b54a70340913c286ab918383a85387788075 100644 (file)
@@ -186,5 +186,5 @@ const struct mech_module mech_cram_md5 = {
        .auth_new = mech_cram_md5_auth_new,
        .auth_initial = mech_cram_md5_auth_initial,
        .auth_continue = mech_cram_md5_auth_continue,
-       .auth_free = mech_generic_auth_free,
+        .auth_free = sasl_server_mech_generic_auth_free,
 };
index 1fe73d42fbfe3e541605fc5721d9b75df6174d57..a2b7211c32e8f43f5e0a9020f75f4163a278c0d9 100644 (file)
@@ -627,7 +627,7 @@ const struct mech_module mech_digest_md5 = {
        .auth_new = mech_digest_md5_auth_new,
        .auth_initial = mech_digest_md5_auth_initial,
        .auth_continue = mech_digest_md5_auth_continue,
-       .auth_free = mech_generic_auth_free,
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
 
 void mech_digest_test_set_nonce(struct auth_request *auth_request,
index 3498a46495fcaab6258add81265fe3ff79f30c93..10b5f8ba0b3097107879c696692b4bd9fba0ff0e 100644 (file)
@@ -60,5 +60,5 @@ const struct mech_module mech_external = {
        .auth_new = mech_external_auth_new,
        .auth_initial = mech_generic_auth_initial,
        .auth_continue = mech_external_auth_continue,
-       .auth_free = mech_generic_auth_free,
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
index 2029aab2ad74bf58e7c9f6a4d48de1674634ef3e..c6fed2372c284edc3ecc91fbdb747858054707bc 100644 (file)
@@ -71,5 +71,5 @@ const struct mech_module mech_login = {
        .auth_new = mech_login_auth_new,
        .auth_initial = mech_login_auth_initial,
        .auth_continue = mech_login_auth_continue,
-       .auth_free = mech_generic_auth_free,
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
index bb5a6451ead89e8f69e413175126cacf587bd2ff..498741b0864b19293362f4bf42c9fe956e3e275d 100644 (file)
@@ -315,7 +315,7 @@ const struct mech_module mech_oauthbearer = {
        .auth_new = mech_oauth2_auth_new,
        .auth_initial = mech_generic_auth_initial,
        .auth_continue = mech_oauthbearer_auth_continue,
-       .auth_free = mech_generic_auth_free,
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
 
 const struct mech_module mech_xoauth2 = {
@@ -327,7 +327,7 @@ const struct mech_module mech_xoauth2 = {
        .auth_new = mech_oauth2_auth_new,
        .auth_initial = mech_generic_auth_initial,
        .auth_continue = mech_xoauth2_auth_continue,
-       .auth_free = mech_generic_auth_free,
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
 
 void mech_oauth2_initialize(void)
index 47755efa661f739113aeb42f0cdfa3255213df96..29b324539a728dc8861a9fbb09cc34a4fbfdcd8f 100644 (file)
@@ -84,5 +84,5 @@ const struct mech_module mech_plain = {
        .auth_new = mech_plain_auth_new,
        .auth_initial = mech_generic_auth_initial,
        .auth_continue = mech_plain_auth_continue,
-       .auth_free = mech_generic_auth_free,
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
index 0b67c38b0ee264bcc55208373d04d038ee0e1525..3327e86fd11da2e5b9bf472952ca3285f2611b8a 100644 (file)
@@ -348,7 +348,7 @@ const struct mech_module mech_winbind_ntlm = {
        .auth_new = mech_winbind_ntlm_auth_new,
        .auth_initial = mech_winbind_auth_initial,
        .auth_continue = mech_winbind_auth_continue,
-       .auth_free = mech_generic_auth_free,
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
 
 const struct mech_module mech_winbind_spnego = {
@@ -360,5 +360,5 @@ const struct mech_module mech_winbind_spnego = {
        .auth_new = mech_winbind_spnego_auth_new,
        .auth_initial = mech_winbind_auth_initial,
        .auth_continue = mech_winbind_auth_continue,
-       .auth_free = mech_generic_auth_free,
+       .auth_free = sasl_server_mech_generic_auth_free,
 };
index d49afd76c7ad79aa33b2f657c06c36149fa9e225..8939eb0b17ef4cb979d9209421c662bf457939f6 100644 (file)
@@ -15,7 +15,7 @@ void mech_generic_auth_initial(struct auth_request *request,
        }
 }
 
-void mech_generic_auth_free(struct auth_request *request)
+void sasl_server_mech_generic_auth_free(struct auth_request *request)
 {
        pool_unref(&request->pool);
 }
index 4a78c5f8e6833b65ac6e38fe71e1f598787b697a..c273bfff548594d4859fe1379b086c4704d5e082 100644 (file)
@@ -49,7 +49,7 @@ const struct mech_module *mech_module_find(const char *name);
 
 void mech_generic_auth_initial(struct auth_request *request,
                               const unsigned char *data, size_t data_size);
-void mech_generic_auth_free(struct auth_request *request);
+void sasl_server_mech_generic_auth_free(struct auth_request *request);
 
 struct mechanisms_register *
 mech_register_init(const struct auth_settings *set);