summaryrefslogtreecommitdiff
path: root/algparam.h
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.h
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.h')
-rw-r--r--algparam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/algparam.h b/algparam.h
index 3e09d1f..624fcdc 100644
--- a/algparam.h
+++ b/algparam.h
@@ -241,7 +241,7 @@ AssignFromHelperClass<T, T> AssignFromHelper(T *pObject, const NameValuePairs &s
void AssignIntToInteger(void *pInteger, const void *pInt);
-extern const std::type_info &g_typeidInteger;
+const std::type_info & IntegerTypeId();
template <class BASE, class T>
class AlgorithmParameters : public NameValuePairs
@@ -283,7 +283,7 @@ public:
else if (strcmp(name, m_name) == 0)
{
// special case for retrieving an Integer parameter when an int was passed in
- if (valueType == g_typeidInteger && typeid(T) == typeid(int))
+ if (valueType == IntegerTypeId() && typeid(T) == typeid(int))
AssignIntToInteger(pValue, &m_value);
else
{