summaryrefslogtreecommitdiffstats
path: root/core/io/file_access_encrypted.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-04-28 21:56:43 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-04-28 21:56:43 -0300
commit87f37bc5a305e6a68ef232be580350588e300fcc (patch)
tree608af97f58c0dd7f2f6f86d973b072f7888bfca0 /core/io/file_access_encrypted.h
parent7fadc2f93a18f2b5487fbcd6e90bcde781c53fec (diff)
downloadredot-engine-87f37bc5a305e6a68ef232be580350588e300fcc.tar.gz
-Added OpenSSL and HTTPS support
-Built-in version of the library for Windows, Android and iOS (other OSs use system one) -Small fixes all around
Diffstat (limited to 'core/io/file_access_encrypted.h')
-rw-r--r--core/io/file_access_encrypted.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/io/file_access_encrypted.h b/core/io/file_access_encrypted.h
index 90796eb2e9..3bdcc2dfd0 100644
--- a/core/io/file_access_encrypted.h
+++ b/core/io/file_access_encrypted.h
@@ -9,7 +9,8 @@ public:
enum Mode {
MODE_READ,
- MODE_WRITE_AES256
+ MODE_WRITE_AES256,
+ MODE_MAX
};
private:
@@ -22,7 +23,8 @@ private:
size_t base;
size_t length;
Vector<uint8_t> data;
- size_t pos;
+ mutable size_t pos;
+ mutable bool eofed;
public: