ITS#8230 fix padding count

This commit is contained in:
Howard Chu 2015-09-25 18:53:05 +01:00
parent 6e4c747d5d
commit ccedb68ee2

View file

@ -245,7 +245,7 @@ totp_b32_pton(
*/
if (ch == Pad32) { /* We got a pad char. */
int i = 1;
int i = 0;
/* count pad chars */
for (; ch; ch = *src++) {