mirror of
https://github.com/status-im/sqlcipher.git
synced 2026-08-30 22:11:14 +00:00
Fix assertion in cc provider
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ static int sqlcipher_cc_cipher(void *ctx, int mode, unsigned char *key, int key_
|
||||
CCCryptorFinal(cryptor, out, in_sz - csz, &tmp_csz);
|
||||
csz += tmp_csz;
|
||||
CCCryptorRelease(cryptor);
|
||||
assert(size == csz);
|
||||
assert(in_sz == csz);
|
||||
|
||||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user