summaryrefslogtreecommitdiff
path: root/algparam.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2002-10-17 16:32:28 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2002-10-17 16:32:28 +0000
commit68bd19cb320b2023aa892c2de15b419edf3f3086 (patch)
treee508ea100a61e22b1f3d56c3aa2b4479e93da51e /algparam.cpp
parent9242d66857d0199765f58148ea33821438f864e2 (diff)
downloadcryptopp-68bd19cb320b2023aa892c2de15b419edf3f3086.tar.gz
bug fixes and KAT for X9.17 RNG
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@11 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 1ef7de4..1b980b6 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)
{