From 68bd19cb320b2023aa892c2de15b419edf3f3086 Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 17 Oct 2002 16:32:28 +0000 Subject: 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 --- algparam.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'algparam.h') diff --git a/algparam.h b/algparam.h index 3e09d1f..624fcdc 100644 --- a/algparam.h +++ b/algparam.h @@ -241,7 +241,7 @@ AssignFromHelperClass 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 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 { -- cgit v1.2.1