Browse Source

Minor style fix

Marcin Krzyżanowski 9 years ago
parent
commit
1551a7b986
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/CryptoSwift/Utils.swift

+ 1 - 1
Sources/CryptoSwift/Utils.swift

@@ -78,7 +78,7 @@ func bitPadding(to data: Array<UInt8>, blockSize: Int, allowance: Int = 0) -> Ar
     var msgLength = tmp.count
     var counter = 0
 
-    while msgLength % blockSize != (blockSize - allowance) {
+    while msgLength % blockSize != blockSize - allowance {
         counter += 1
         msgLength += 1
     }