summaryrefslogtreecommitdiff
path: root/cryptlib.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-11-12 13:10:22 -0500
committerJeffrey Walton <noloader@gmail.com>2017-11-12 13:10:22 -0500
commit2623d24f5cf25094140ac2a61443ec84fb9bb839 (patch)
tree12a55e3e0f0392e02e5067184f6c9141eecd4cea /cryptlib.cpp
parentf87696b7a5e89e5e98ac7a14cff2e0edeae23197 (diff)
downloadcryptopp-git-2623d24f5cf25094140ac2a61443ec84fb9bb839.tar.gz
Update documentation
Removed defined-out code
Diffstat (limited to 'cryptlib.cpp')
-rw-r--r--cryptlib.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/cryptlib.cpp b/cryptlib.cpp
index b6e91f07..a9722159 100644
--- a/cryptlib.cpp
+++ b/cryptlib.cpp
@@ -42,16 +42,6 @@ CRYPTOPP_COMPILE_ASSERT(sizeof(word64) == 8);
CRYPTOPP_COMPILE_ASSERT(sizeof(dword) == 2*sizeof(word));
#endif
-#if 0
-class NullNameValuePairs : public NameValuePairs
-{
-public:
- NullNameValuePairs() {} // Clang complains a default ctor must be avilable
- bool GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const
- {CRYPTOPP_UNUSED(name); CRYPTOPP_UNUSED(valueType); CRYPTOPP_UNUSED(pValue); return false;}
-};
-#endif
-
BufferedTransformation & TheBitBucket()
{
static BitBucket bitBucket;
@@ -319,11 +309,6 @@ void RandomNumberGenerator::GenerateBlock(byte *output, size_t size)
{
CRYPTOPP_UNUSED(output), CRYPTOPP_UNUSED(size);
-#if 0
- // This breaks AutoSeededX917RNG<T> generators.
- throw NotImplemented("RandomNumberGenerator: GenerateBlock not implemented");
-#endif
-
ArraySink s(output, size);
GenerateIntoBufferedTransformation(s, DEFAULT_CHANNEL, size);
}
@@ -946,16 +931,6 @@ int LibraryVersion(CRYPTOPP_NOINLINE_DOTDOTDOT)
return CRYPTOPP_BUILD_VERSION;
}
-// ***************** C++ Static Initialization ********************
-
-#if 0
-const std::string DEFAULT_CHANNEL;
-const std::string AAD_CHANNEL("AAD");
-
-NullNameValuePairs s_nullNameValuePairs;
-const NameValuePairs&g_nullNameValuePairs = dynamic_cast<const NameValuePairs&>(s_nullNameValuePairs);
-#endif
-
NAMESPACE_END // CryptoPP
#endif // CRYPTOPP_IMPORTS