Skip to content

Commit

Permalink
httpauth/digest: fix httpauth_digest_response_full err check
Browse files Browse the repository at this point in the history
Found by coverity
  • Loading branch information
sreimers committed Nov 19, 2023
1 parent e1d1906 commit 7ce3a77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/httpauth/digest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7ce3a77

Please sign in to comment.