8000 Fix assertion in cc provider · magic-coder/sqlcipher@0edd41b · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0edd41b

Browse files
Fix assertion in cc provider
1 parent e4112a5 commit 0edd41b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto_cc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ static int sqlcipher_cc_cipher(void *ctx, int mode, unsigned char *key, int key_
8989
CCCryptorFinal(cryptor, out, in_sz - csz, &tmp_csz);
9090
csz += tmp_csz;
9191
CCCryptorRelease(cryptor);
92-
assert(size == csz);
92+
assert(in_sz == csz);
9393

9494
return SQLITE_OK;
9595
}

0 commit comments

Comments
 (0)
0