Keep random data around, we'll need it for certain bogus REGISTER and INVITE network...
authorMark Spencer <markster@digium.com>
Wed, 7 Apr 2004 15:09:58 +0000 (15:09 +0000)
committerMark Spencer <markster@digium.com>
Wed, 7 Apr 2004 15:09:58 +0000 (15:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2648 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 271f547..b3fdec8 100755 (executable)
@@ -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;
 }