Small fix for gcc 2.xx compiler
This commit is contained in:
parent
7021a07b4d
commit
7d7cd0e5f4
@ -615,9 +615,10 @@ SM_STATE(waitaddr)
|
|||||||
SM_STATE(sendpass)
|
SM_STATE(sendpass)
|
||||||
|
|
||||||
if (MD_challenge && strlen(nodes.Spasswd) && CRAMflag) {
|
if (MD_challenge && strlen(nodes.Spasswd) && CRAMflag) {
|
||||||
|
char *pw = NULL, *tp = NULL;
|
||||||
Syslog('b', "MD_challenge is set, building digest");
|
Syslog('b', "MD_challenge is set, building digest");
|
||||||
char *pw = xstrcpy(nodes.Spasswd);
|
pw = xstrcpy(nodes.Spasswd);
|
||||||
char *tp = MD_buildDigest(pw, MD_challenge);
|
tp = MD_buildDigest(pw, MD_challenge);
|
||||||
if (!tp) {
|
if (!tp) {
|
||||||
Syslog('!', "Unable to build MD5 digest");
|
Syslog('!', "Unable to build MD5 digest");
|
||||||
SM_ERROR;
|
SM_ERROR;
|
||||||
|
Reference in New Issue
Block a user