mirror of
https://github.com/vgough/encfs.git
synced 2024-11-25 09:23:13 +01:00
f00ef5c6d3
git-svn-id: http://encfs.googlecode.com/svn/trunk@94 db9cf616-1c43-0410-9cb8-a902689de0d6
30 lines
434 B
C++
30 lines
434 B
C++
#include "cipher/BlockCipher.h"
|
|
|
|
// TODO: add ifdef when OpenSSL becomes optional.
|
|
#include "cipher/openssl.h"
|
|
|
|
namespace encfs {
|
|
|
|
Registry<BlockCipher>& BlockCipher::GetRegistry()
|
|
{
|
|
static Registry<BlockCipher> registry;
|
|
static bool first = true;
|
|
if (first)
|
|
{
|
|
OpenSSL::registerCiphers();
|
|
first = false;
|
|
}
|
|
return registry;
|
|
}
|
|
|
|
BlockCipher::BlockCipher()
|
|
{
|
|
}
|
|
|
|
BlockCipher::~BlockCipher()
|
|
{
|
|
}
|
|
|
|
} // namespace encfs
|
|
|