Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 8dc1fedf5f001ac71698f92b5511f5fb > files > 3

opal-2.2.11-5mdv2009.0.src.rpm

--- opal/include/sip/sippdu.h	2006/08/12 04:09:24	2.43
+++ opal/include/sip/sippdu.h	2006/09/22 00:58:40	2.44
@@ -473,6 +476,24 @@
       const PString & password = PString::Empty()
     );
 
+    SIPAuthentication & operator =(const SIPAuthentication & auth)
+    {
+      isProxy   = auth.isProxy;
+      authRealm = auth.authRealm;
+      username  = auth.username;
+      password  = auth.password;
+      nonce     = auth.nonce;
+      algorithm = auth.algorithm;
+		  opaque    = auth.opaque;
+              
+		  qopAuth    = auth.qopAuth;
+		  qopAuthInt = auth.qopAuthInt;
+		  cnonce     = auth.cnonce;
+		  nonceCount.SetValue(auth.nonceCount);
+
+      return *this;
+    }
+
     BOOL Parse(
       const PCaselessString & auth,
       BOOL proxy