8477
|
1 |
--- opal/src/sip/sippdu.cxx.old 2006-10-31 18:01:23.337125000 +0800
|
|
2 |
+++ opal/src/sip/sippdu.cxx 2006-10-31 18:01:51.738194000 +0800
|
|
3 |
@@ -1231,7 +1231,7 @@
|
|
4 |
|
|
5 |
qopAuth = qopAuthInt = FALSE;
|
|
6 |
cnonce.MakeEmpty();
|
|
7 |
- nonceCount = 1;
|
|
8 |
+ nonceCount.SetValue(1) ;
|
|
9 |
|
|
10 |
if (auth.Find("digest") != 0) {
|
|
11 |
PTRACE(1, "SIP\tUnknown authentication type");
|
|
12 |
--- opal/include/sip/sippdu.h.old 2006-10-31 18:03:24.062915000 +0800
|
|
13 |
+++ opal/include/sip/sippdu.h 2006-10-31 17:54:42.786540000 +0800
|
|
14 |
@@ -453,6 +453,24 @@
|
|
15 |
const PString & password = PString::Empty()
|
|
16 |
);
|
|
17 |
|
|
18 |
+ SIPAuthentication & operator =(const SIPAuthentication & auth)
|
|
19 |
+ {
|
|
20 |
+ isProxy = auth.isProxy;
|
|
21 |
+ authRealm = auth.authRealm;
|
|
22 |
+ username = auth.username;
|
|
23 |
+ password = auth.password;
|
|
24 |
+ nonce = auth.nonce;
|
|
25 |
+ algorithm = auth.algorithm;
|
|
26 |
+ opaque = auth.opaque;
|
|
27 |
+
|
|
28 |
+ qopAuth = auth.qopAuth;
|
|
29 |
+ qopAuthInt = auth.qopAuthInt;
|
|
30 |
+ cnonce = auth.cnonce;
|
|
31 |
+ nonceCount.SetValue(auth.nonceCount);
|
|
32 |
+
|
|
33 |
+ return *this;
|
|
34 |
+ }
|
|
35 |
+
|
|
36 |
BOOL Parse(
|
|
37 |
const PCaselessString & auth,
|
|
38 |
BOOL proxy
|