smalltalk
/
osmo-st-sip
Archived
1
0
Fork 0

proxy: Add the same default handling for md5

This commit is contained in:
Holger Hans Peter Freyther 2014-06-20 15:00:43 +02:00
parent 4bf83bb523
commit b0fae4c117
1 changed files with 1 additions and 1 deletions

View File

@ -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')