diff options
author | Chris Wilson <chris+github@qwirx.com> | 2018-02-27 22:38:29 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2018-02-27 22:38:29 +0000 |
commit | d3da41380064015add8ffc16c91dbfa57cbd954b (patch) | |
tree | fe86bde5e04f7fd66acd3de142e455e54bac7129 /lib/common | |
parent | bc48bec97b65534966da74a07ed3edb3f13f6263 (diff) |
Add a test that we can setup Blowfish encryption properly
Diffstat (limited to 'lib/common')
-rw-r--r-- | lib/common/Guards.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common/Guards.h b/lib/common/Guards.h index 46b6d2bd..3637b261 100644 --- a/lib/common/Guards.h +++ b/lib/common/Guards.h @@ -110,6 +110,11 @@ public: return (type)mpBlock; } + int GetSize() const + { + return mBlockSize; + } + void Resize(int NewSize) { void *ptrn = ::realloc(mpBlock, NewSize); |