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

auth: Sipgate doesn't send the algorithm. assume it is md5

This commit is contained in:
Holger Hans Peter Freyther 2014-06-20 14:19:10 +02:00
parent eb578aa93e
commit e2d1145639
1 changed files with 1 additions and 1 deletions

View File

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