summaryrefslogtreecommitdiffstats
path: root/callagent
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-06-20 15:00:43 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-06-20 15:00:43 +0200
commitb0fae4c117c5b8a133f834d8bff9c33587ad9a18 (patch)
tree3d830e116b9a561a4482859ad6b572dcfb3f23fa /callagent
parent4bf83bb5238fa634f26cde1fe2b3d46ff855da92 (diff)
proxy: Add the same default handling for md5
Diffstat (limited to 'callagent')
-rw-r--r--callagent/transactions/SIPTransaction.st2
1 files changed, 1 insertions, 1 deletions
diff --git a/callagent/transactions/SIPTransaction.st b/callagent/transactions/SIPTransaction.st
index ad07d83..a3f8bbb 100644
--- a/callagent/transactions/SIPTransaction.st
+++ b/callagent/transactions/SIPTransaction.st
@@ -214,7 +214,7 @@ Object subclass: SIPTransaction [
auth := aResp parameter: 'Proxy-Authenticate' ifAbsent: [nil].
auth ifNil: [^self wrongAuth: aResp dialog: aDialog].
- ((auth at: 'algorithm') = 'MD5')
+ ((auth at: 'algorithm' ifAbsent: ['MD5']) = 'MD5')
ifFalse: [^self wrongAuth: aResp dialog: aDialog].
((auth at: 'qop') = 'auth')