Browse Source

Merge branch 'swift3' of github.com:krzyzanowskim/CryptoSwift into swift3

Marcin Krzyżanowski 9 years ago
parent
commit
7d5c9eb097
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Sources/CryptoSwift/AES.swift

+ 4 - 1
Sources/CryptoSwift/AES.swift

@@ -490,7 +490,10 @@ extension AES {
             self.worker = worker
 
             self.offset = position % AES.blockSize
-            return false
+            
+            self.accumulated = []
+            
+            return true
         }
     }
 }