]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Fix empty certificate fingerprint error handling
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 2 Jun 2025 07:49:23 +0000 (10:49 +0300)
committermarkus.valentin <markus.valentin@open-xchange.com>
Fri, 13 Jun 2025 06:34:20 +0000 (08:34 +0200)
Broken in db01107763ff3ad6afbf91f965ee46d2e3412b05

src/auth/auth-request.c

index 07580e270e8998b17cad7b0d7b809e2c4aa6702a..04eed9d8a8ce4a26506c754879c7812376071b71 100644 (file)
@@ -1860,7 +1860,7 @@ auth_request_validate_client_fp(struct auth_request *request, const char *name,
        else if (*fp == '\0') {
                e_info(authdb_event(request), "%s check failed: value was empty",
                       name);
-               valid = FALSE;
+               request->failed = TRUE;
                return;
        } else if (strcmp(name, "check_client_fp") == 0) {
                valid = strcmp(client_cert_fp, fp) == 0 ||