aboutsummaryrefslogtreecommitdiffstats
path: root/src/wrap/sqlite/codec.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-06-17 18:44:17 +0000
committerlloyd <[email protected]>2012-06-17 18:44:17 +0000
commit413246d555f9dcc0bac1cefe73bb141f0d8f14f5 (patch)
treebfef76cf5c1f437bfbb35f63e4b3fa96c66b36b6 /src/wrap/sqlite/codec.cpp
parentaa858fa5e0b5127c1900574379a66f2668d85702 (diff)
Update to rev 924b482d25 from https://github.com/OlivierJG/botansqlite3
Diffstat (limited to 'src/wrap/sqlite/codec.cpp')
-rw-r--r--src/wrap/sqlite/codec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrap/sqlite/codec.cpp b/src/wrap/sqlite/codec.cpp
index 9799b058f..70519ccfa 100644
--- a/src/wrap/sqlite/codec.cpp
+++ b/src/wrap/sqlite/codec.cpp
@@ -176,7 +176,7 @@ void SetReadIsWrite(void *codec) {
((Codec*)codec)->SetReadIsWrite();
}
unsigned char* Encrypt(void *codec, int page, unsigned char *data, Bool useWriteKey) {
- ((Codec*)codec)->Encrypt(page, data, useWriteKey);
+ return ((Codec*)codec)->Encrypt(page, data, useWriteKey);
}
void Decrypt(void *codec, int page, unsigned char *data) {
((Codec*)codec)->Decrypt(page, data);