]> git.ipfire.org Git - thirdparty/curl.git/commit
sasl: clear canceled mechanism instead of toggling it
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Tue, 16 Sep 2025 18:27:23 +0000 (23:27 +0500)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 18 Sep 2025 15:27:29 +0000 (17:27 +0200)
commita80abc45a572132b7f425e526cd60c0cf49f28e2
tree9b94f0c818cc4702ca27c4e497f683b4c493d291
parent44a586472b42a288836f730b4b3b7dd5490057f6
sasl: clear canceled mechanism instead of toggling it

Use &= ~authused in SASL_CANCEL (was ^=) to actually remove the offending
mechanism and avoid re-enabling a disabled mech on retry.

Closes #18573
lib/curl_sasl.c