Commit 55976653 authored by Kai Vehmanen's avatar Kai Vehmanen
Browse files

su: Unnecessary used of strtoull() as the result variable is unsigned long.

darcs-hash:20070712135615-77cd4-fe1c4c235890aca9cdc43a54e452006307a8209c.gz
parent 86b29009
......@@ -1441,7 +1441,7 @@ int auth_validate_digest_nonce(auth_mod_t *am,
}
if (am->am_max_ncount && ar->ar_nc) {
unsigned long nc = strtoull(ar->ar_nc, NULL, 10);
unsigned long nc = strtoul(ar->ar_nc, NULL, 10);
if (nc == 0 || nc > am->am_max_ncount) {
SU_DEBUG_5(("auth_method_digest: nonce used %s times, max %u\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment