Skip to content

Commit 2abd046

Browse files
committed
Fix oct2dec typo
F-2069
1 parent b318bc9 commit 2abd046

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/internal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17535,7 +17535,7 @@ int wolfSSH_oct2dec(WOLFSSH* ssh, byte* oct, word32 octSz)
1753517535

1753617536
for (i = 0; i < octSz; i++)
1753717537
{
17538-
if (oct[i] < '0' || oct[0] > '7') {
17538+
if (oct[i] < '0' || oct[i] > '7') {
1753917539
ret = WS_BAD_ARGUMENT;
1754017540
break;
1754117541
}

0 commit comments

Comments
 (0)