Skip to content

Commit

Permalink
Fix statement according to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaar, Bjørn-Andre committed Apr 9, 2024
1 parent 7db839a commit d998033
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private String process(PseudoOperation operation,
PseudoFuncDeclaration funcDeclaration = PseudoFuncDeclaration.fromString(match.getRule().getFunc());

// FPE requires minimum two bytes/chars to perform encryption and minimum four bytes in case of Unicode.
if (varValue.length() <= 4 && (
if (varValue.length() < 4 && (
match.getFunc() instanceof FpeFunc ||
match.getFunc() instanceof TinkFpeFunc ||
funcDeclaration.getFuncName().equals(PseudoFuncNames.MAP_SID) ||
Expand Down

0 comments on commit d998033

Please sign in to comment.