mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-16 09:09:07 -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. */
|
if (ch == Pad32) { /* We got a pad char. */
|
||||||
int i = 1;
|
int i = 0;
|
||||||
|
|
||||||
/* count pad chars */
|
/* count pad chars */
|
||||||
for (; ch; ch = *src++) {
|
for (; ch; ch = *src++) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue