aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/digestauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/digestauth.c')
-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