diff options
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r-- | src/microhttpd/digestauth.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index 87623750..ed2610c2 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c | |||
@@ -1459,7 +1459,7 @@ MHD_digest_auth_get_username (struct MHD_Connection *connection) | |||
1459 | * The current format of the nonce is ... | 1459 | * The current format of the nonce is ... |
1460 | * H(timestamp:random data:various parameters) + Hex(timestamp) | 1460 | * H(timestamp:random data:various parameters) + Hex(timestamp) |
1461 | * | 1461 | * |
1462 | * @param nonce_time The amount of time in seconds for a nonce to be valid | 1462 | * @param nonce_time The amount of time in seconds for a nonce to be invalid |
1463 | * @param mthd_e HTTP method as enum value | 1463 | * @param mthd_e HTTP method as enum value |
1464 | * @param method HTTP method as a string | 1464 | * @param method HTTP method as a string |
1465 | * @param rnd the pointer to a character array for the random seed | 1465 | * @param rnd the pointer to a character array for the random seed |
@@ -1786,11 +1786,7 @@ calculate_add_nonce_with_retry (struct MHD_Connection *const connection, | |||
1786 | "are predictable.\n")); | 1786 | "are predictable.\n")); |
1787 | #endif | 1787 | #endif |
1788 | 1788 | ||
1789 | if (! calculate_add_nonce (connection, | 1789 | if (! calculate_add_nonce (connection, timestamp1, realm, realm_len, da, |
1790 | timestamp1, | ||
1791 | realm, | ||
1792 | realm_len, | ||
1793 | da, | ||
1794 | nonce)) | 1790 | nonce)) |
1795 | { | 1791 | { |
1796 | /* Either: | 1792 | /* Either: |