mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#8230 fix padding count
This commit is contained in:
parent
6e4c747d5d
commit
ccedb68ee2
1 changed files with 1 additions and 1 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue