Skip to content

Commit

Permalink
Fix assert issue (caused by tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfoidl committed Feb 18, 2020
1 parent 2e74e9b commit 35ae9e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public override int GetEncodedLength(int sourceLength)
if (sourceLength == 16)
return 22;

int numPaddingChars = GetNumBase64PaddingCharsAddedByEncode(sourceLength);
int base64EncodedLen = GetBase64EncodedLength(sourceLength);
int numPaddingChars = GetNumBase64PaddingCharsAddedByEncode(sourceLength);

return base64EncodedLen - numPaddingChars;
}
Expand Down

0 comments on commit 35ae9e0

Please sign in to comment.