This commit is contained in:
Sebastian Messmer 2015-10-27 21:26:08 +01:00
parent bb507ce241
commit d8ed751039
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ namespace cryfs {
class InnerEncryptor {
public:
virtual cpputils::Data encrypt(const cpputils::Data &plaintext) const = 0;
virtual boost::optional <cpputils::Data> decrypt(const cpputils::Data &plaintext) const = 0;
virtual boost::optional<cpputils::Data> decrypt(const cpputils::Data &plaintext) const = 0;
protected:
static void _checkHeader(cpputils::Deserializer *deserializer);

View File

@ -44,6 +44,7 @@ using boost::none;
//TODO Did deadlock in bonnie++ second run (in the create files sequentially) - maybe also in a later run or different step?
//TODO Improve error message when root blob wasn't found.
//TODO Replace ASSERTs with other error handling when it is not a programming error but an environment influence (e.g. a block is missing)
//TODO When creating a new filesystem, we need 2x kill to kill the process (probably because we access random values before daemonizing)
void showVersion() {
cout << "CryFS Version " << version::VERSION_STRING << endl;