Differences From Artifact [3b4c3d710b]:
- File
src/XMPPPLAINAuth.m
— part of check-in
[0aab2fde67]
at
2011-09-18 19:33:19
on branch trunk
— Fix XMPPAuthenticator to support non-optimized message flow
While RFC6120 allows and encourages sending data with the success
message it is also legal to send the same data as a challenge and
await an empty response. This rework honors that fact. (user: florob@babelmonkeys.de, size: 2143) [annotate] [blame] [check-ins using]
To Artifact [755e5fff17]:
- File src/XMPPPLAINAuth.m — part of check-in [58085da5c5] at 2012-01-26 12:35:05 on branch trunk — Style improvements. (user: js, size: 2128) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
42 43 44 45 46 47 48 | return [[[self alloc] initWithAuthzid: authzid authcid: authcid password: password] autorelease]; } - (OFDataArray*)initialMessage { | | | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | return [[[self alloc] initWithAuthzid: authzid authcid: authcid password: password] autorelease]; } - (OFDataArray*)initialMessage { OFDataArray *message = [OFDataArray dataArray]; /* authzid */ if (authzid) [message addItem: authzid]; /* separator */ [message addItem: ""]; |
︙ | ︙ |