mirror of
https://github.com/vgough/encfs.git
synced 2025-08-17 01:01:32 +02:00
add CommonCrypto support, other misc fixes
git-svn-id: http://encfs.googlecode.com/svn/trunk@97 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
@ -39,7 +39,7 @@ namespace encfs {
|
||||
struct MemBlock
|
||||
{
|
||||
byte *data;
|
||||
void *internalData;
|
||||
int size;
|
||||
|
||||
MemBlock();
|
||||
~MemBlock();
|
||||
@ -48,15 +48,10 @@ struct MemBlock
|
||||
};
|
||||
|
||||
inline MemBlock::MemBlock()
|
||||
: data(0), internalData(0)
|
||||
: data(0), size(0)
|
||||
{
|
||||
}
|
||||
|
||||
namespace MemoryPool
|
||||
{
|
||||
void destroyAll();
|
||||
}
|
||||
|
||||
class SecureMem
|
||||
{
|
||||
public:
|
||||
@ -67,6 +62,8 @@ class SecureMem
|
||||
~SecureMem();
|
||||
};
|
||||
|
||||
bool operator == (const SecureMem &a, const SecureMem &b);
|
||||
|
||||
} // namespace encfs
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user