FIX: Fixed wrong size of buffer being passed into MSecGetCheckSum. Should be strlen(buffer). Eygene Ryabinkin found this using slumr and authtype checksum.

Problem Ref:	FIX FOR THE WIKI AUTHENTICATION (SLURM CASE)
Organization:	Eygene Ryabinkin
Contact:	Eygene Ryabinkin



git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@106 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
bchristiansen 2008-10-22 20:08:42 +00:00
parent 52dd85139f
commit 4c4b50ab53

View File

@ -2021,6 +2021,8 @@ int MSURecvData(
ptr = tmpLine;
ptr[0] = '\0';
if (TimeLimit != 0)
{
/* allow polling */
@ -2383,7 +2385,7 @@ int MSURecvData(
{
MSecGetChecksum(
ptr,
(S->RBufSize - (ptr - S->RBuffer)),
strlen(ptr),
CKSum,
NULL,
S->CSAlgo,