aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-08-15 20:18:53 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-08-15 21:37:50 +0300
commit451b0d9f24b9ba83a171608dbb96709d8455ec15 (patch)
tree23ebd10f1d1866f08ca8d4c3c260bc14a6c4e069
parente16789ef4fb8d55de9e00c4fbebd88461acae8d5 (diff)
downloadlibmicrohttpd-451b0d9f24b9ba83a171608dbb96709d8455ec15.tar.gz
libmicrohttpd-451b0d9f24b9ba83a171608dbb96709d8455ec15.zip
digestauth: minor comment correction
-rw-r--r--src/microhttpd/digestauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index ba112bd6..eddfa937 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -1355,7 +1355,7 @@ calculate_nonce (uint64_t nonce_time,
1355 { 1355 {
1356 uint8_t timestamp[TIMESTAMP_BIN_SIZE]; 1356 uint8_t timestamp[TIMESTAMP_BIN_SIZE];
1357 /* If the nonce_time is milliseconds, then the same 48 bit value will repeat 1357 /* If the nonce_time is milliseconds, then the same 48 bit value will repeat
1358 * every 8 925 years, which is more than enough to mitigate a replay attack */ 1358 * every 8 919 years, which is more than enough to mitigate a replay attack */
1359#if TIMESTAMP_BIN_SIZE != 6 1359#if TIMESTAMP_BIN_SIZE != 6
1360#error The code needs to be updated here 1360#error The code needs to be updated here
1361#endif 1361#endif