Changeset 882 in openpam
- Timestamp:
- Jan 9, 2016, 6:41:46 PM (5 years ago)
- Location:
- trunk/bin/oathkey
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/oathkey/oathkey.1
r868 r882 29 29 .\" $Id$ 30 30 .\" 31 .Dd October 23, 201531 .Dd January 9, 2016 32 32 .Dt OATHKEY 1 33 33 .Os … … 79 79 If a count is specified, compute and display 80 80 .Ar count 81 codes in total, starting with the current code. 81 codes in total, starting with the current code, up to a maximum of 82 1,000 codes. 82 83 If writeback mode is enabled, the user's keyfile is updated to prevent 83 84 reuse. -
trunk/bin/oathkey/oathkey.c
r870 r882 298 298 if (argc > 0) { 299 299 n = strtoul(argv[0], &end, 10); 300 if (end == argv[0] || *end != '\0' || n < 1 )300 if (end == argv[0] || *end != '\0' || n < 1 || n > 1000) 301 301 return (RET_USAGE); 302 302 } else {
Note: See TracChangeset
for help on using the changeset viewer.