auth: Sipgate doesn't send the algorithm. assume it is md5
This commit is contained in:
parent
eb578aa93e
commit
e2d1145639
|
@ -176,7 +176,7 @@ Object subclass: SIPTransaction [
|
|||
auth := aResp parameter: 'WWW-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].
|
||||
|
||||
authorization := SIPAuthorization new
|
||||
|
|
Reference in New Issue