From: Timo Sirainen Date: Mon, 2 Jun 2025 07:49:23 +0000 (+0300) Subject: auth: Fix empty certificate fingerprint error handling X-Git-Tag: 2.4.2~720 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd114713679f4ac1473dc8105b253079c8844326;p=thirdparty%2Fdovecot%2Fcore.git auth: Fix empty certificate fingerprint error handling Broken in db01107763ff3ad6afbf91f965ee46d2e3412b05 --- diff --git a/src/auth/auth-request.c b/src/auth/auth-request.c index 07580e270e..04eed9d8a8 100644 --- a/src/auth/auth-request.c +++ b/src/auth/auth-request.c @@ -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 ||