summaryrefslogtreecommitdiff
path: root/algparam.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2002-10-17 16:32:28 +0000
committerweidai <weidai11@users.noreply.github.com>2002-10-17 16:32:28 +0000
commitdeea52fd3b8059dc61d503d4a125d85cb4e2cc81 (patch)
treee508ea100a61e22b1f3d56c3aa2b4479e93da51e /algparam.cpp
parent0e0049180df954f341fa056797c92916950c3e58 (diff)
downloadcryptopp-git-deea52fd3b8059dc61d503d4a125d85cb4e2cc81.tar.gz
bug fixes and KAT for X9.17 RNG
Diffstat (limited to 'algparam.cpp')
-rw-r--r--algparam.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/algparam.cpp b/algparam.cpp
index 1ef7de44..1b980b6e 100644
--- a/algparam.cpp
+++ b/algparam.cpp
@@ -6,7 +6,11 @@
NAMESPACE_BEGIN(CryptoPP)
-const std::type_info &g_typeidInteger = typeid(Integer);
+const std::type_info & IntegerTypeId()
+{
+ static const std::type_info &s_typeidInteger = typeid(Integer);
+ return s_typeidInteger;
+}
void AssignIntToInteger(void *pInteger, const void *pInt)
{