Skip to content

Commit

Permalink
httpauth: change hash length variable to size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
cHuberCoffee committed Aug 30, 2023
1 parent c67c792 commit 3d02946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/httpauth/digest.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ static int generate_nonce(char **pnonce, const time_t ts,
struct mbuf *mb = NULL;
char *nonce = NULL;
uint8_t *hash = NULL;
uint8_t hashlen = SHA256_DIGEST_LENGTH;
size_t hashlen = SHA256_DIGEST_LENGTH;
int err = 0;

DEBUG_INFO("[%s:%d-%s] Enter\n", __FILE__, __LINE__, __func__);
Expand Down

0 comments on commit 3d02946

Please sign in to comment.