gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]