[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 04/12: digestauth: changed type of var
From: |
gnunet |
Subject: |
[libmicrohttpd] 04/12: digestauth: changed type of var |
Date: |
Wed, 04 May 2022 14:59:38 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 65300939cf147f297c32edafa5997a2f6d5d0b86
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed May 4 13:39:59 2022 +0300
digestauth: changed type of var
---
src/microhttpd/digestauth.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index de2bfc58..0bd1a8c6 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -729,7 +729,7 @@ calculate_nonce (uint32_t nonce_time,
{
unsigned char timestamp[TIMESTAMP_BIN_SIZE];
const unsigned int digest_size = da->digest_size;
- unsigned char tmpnonce[VLA_ARRAY_LEN_DIGEST (digest_size)];
+ char tmpnonce[VLA_ARRAY_LEN_DIGEST (digest_size)];
VLA_CHECK_LEN_DIGEST (digest_size);
da->init (da->ctx);
@@ -766,7 +766,7 @@ calculate_nonce (uint32_t nonce_time,
(const unsigned char *) realm,
strlen (realm));
da->digest (da->ctx,
- tmpnonce);
+ (uint8_t *) tmpnonce);
MHD_bin_to_hex (tmpnonce,
digest_size,
nonce);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (76b68f65 -> d031ea8c), gnunet, 2022/05/04
- [libmicrohttpd] 04/12: digestauth: changed type of var,
gnunet <=
- [libmicrohttpd] 01/12: internal.h: fixed doxy, gnunet, 2022/05/04
- [libmicrohttpd] 02/12: .gitignore: Updated, gnunet, 2022/05/04
- [libmicrohttpd] 05/12: digestauth: additional assert, gnunet, 2022/05/04
- [libmicrohttpd] 08/12: digestauth: use mseconds for timestamp, gnunet, 2022/05/04
- [libmicrohttpd] 09/12: digestauth: additional macros for readability, gnunet, 2022/05/04
- [libmicrohttpd] 07/12: digestauth: increased timestamp to 48 bits, gnunet, 2022/05/04
- [libmicrohttpd] 06/12: digestauth: added run-time checks for algo value, gnunet, 2022/05/04
- [libmicrohttpd] 11/12: digestauth: added management of nonce-nc map array slots, gnunet, 2022/05/04
- [libmicrohttpd] 03/12: digestauth: use 7 bit shift for fast "hash", gnunet, 2022/05/04
- [libmicrohttpd] 10/12: digestauth: additional static function for code re-use, gnunet, 2022/05/04