From 7ce3a7708dc3a96fbf2ab765244012463687640a Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Sun, 19 Nov 2023 09:07:55 +0100 Subject: [PATCH] httpauth/digest: fix httpauth_digest_response_full err check Found by coverity --- src/httpauth/digest.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/httpauth/digest.c b/src/httpauth/digest.c index 5bd6c3a25..5a23514f0 100644 --- a/src/httpauth/digest.c +++ b/src/httpauth/digest.c @@ -961,6 +961,9 @@ int httpauth_digest_response_full(struct httpauth_digest_enc_resp **presp, goto out; } + if (err) + goto out; + err = digest_response(resp, chall, method, user, passwd, entitybody); out: