Changeset 679 in openpam for trunk/lib/liboath/oath_hotp.c
- Timestamp:
- Mar 18, 2013, 9:38:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/liboath/oath_hotp.c
r646 r679 128 128 if (k->counter >= UINT64_MAX - window) 129 129 return (-1); 130 dummy = ( memcmp(k->label, DUMMY_LABEL, DUMMY_LABELLEN) == 0);130 dummy = (strcmp(k->label, OATH_DUMMY_LABEL) == 0); 131 131 for (int i = 0; i < window; ++i) { 132 132 code = oath_hotp(k->key, k->keylen, k->counter + i, k->digits);
Note: See TracChangeset
for help on using the changeset viewer.