From 413246d555f9dcc0bac1cefe73bb141f0d8f14f5 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 17 Jun 2012 18:44:17 +0000 Subject: Update to rev 924b482d25 from https://github.com/OlivierJG/botansqlite3 --- src/wrap/sqlite/codec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wrap/sqlite/codec.cpp') 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); -- cgit v1.2.3