mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Keep random data around, we'll need it for certain bogus REGISTER and INVITE network hiccups (bug # 1236)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3783,8 +3783,6 @@ static int check_auth(struct sip_pvt *p, struct sip_request *req, char *randdata
|
||||
res = 0;
|
||||
}
|
||||
/* Assume success ;-) */
|
||||
/* Eliminate random data */
|
||||
strcpy(randdata, "");
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user