summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common/Guards.h5
-rw-r--r--lib/crypto/CipherBlowfish.h2
2 files changed, 6 insertions, 1 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);
diff --git a/lib/crypto/CipherBlowfish.h b/lib/crypto/CipherBlowfish.h
index 152a265c..1894e2ac 100644
--- a/lib/crypto/CipherBlowfish.h
+++ b/lib/crypto/CipherBlowfish.h
@@ -41,7 +41,7 @@ public:
virtual std::string GetCipherName() const
{
std::ostringstream out;
- out << "AES";
+ out << "Blowfish";
out << mKeyLength;
return out.str();
}