X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=BOINC%20software%2FBOINC%20client%20apps%2Fdistrrtgen_cuda%2Frcuda_ext.cpp;h=ea78a0d905eea32ce361e166272ecc313e6c3abf;hb=683eeaa26cde6b9faa7600497da5896319583692;hp=86f31ecc948d529eeb5bce83857cab7b0127e817;hpb=fcc09bb2d8e4fdcca60f465a04c7babf1f5e573c;p=freerainbowtables diff --git a/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda_ext.cpp b/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda_ext.cpp index 86f31ec..ea78a0d 100644 --- a/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda_ext.cpp +++ b/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda_ext.cpp @@ -1,7 +1,7 @@ //============================================================================ // Name : rcuda_ext.cpp // Author : Jan Kyska -// Version : 0.9 +// Version : 1.00 // Description : A code to access internals of the CChainWalkContext // for the CUDA generator of FreeRainbowTables //============================================================================ @@ -26,7 +26,7 @@ void CudaCWCExtender::Init(void) { plainCharSet.clear(); hashName = CChainWalkContext::m_sHashRoutineName; - std::transform(hashName.begin(), hashName.end(), hashName.begin(), tolower); + std::transform(hashName.begin(), hashName.end(), hashName.begin(), ::tolower); if(hashName.compare("lm") == 0) hash = rcuda::RHASH_LM; else if(hashName.compare("md4") == 0) @@ -76,7 +76,8 @@ int CudaCWCExtender::IndexToStartPlain(const uint64 nIndex, std::vector