Overview
Comment: | Adjust to recent ObjFW changes. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e81a369270e477b55e551f289ed842f6 |
User & Date: | js on 2013-02-18 23:16:20 |
Other Links: | manifest | tags |
Context
2013-02-23
| ||
13:49 | Rename XMPPJSONFileStorage to XMPPFileStorage. check-in: c9bb52e823 user: js tags: trunk | |
2013-02-18
| ||
23:16 | Adjust to recent ObjFW changes. check-in: e81a369270 user: js tags: trunk | |
2013-02-15
| ||
14:32 | Improve documentation. check-in: ae47288dc3 user: js tags: trunk | |
Changes
Modified src/XMPPSCRAMAuth.m from [8e4d89c37f] to [204b73b7fc].
︙ | ︙ | |||
198 199 200 201 202 203 204 | } - (OFDataArray*)XMPP_parseServerFirstMessage: (OFDataArray*)data { size_t i; uint8_t *clientKey, *serverKey, *clientSignature; intmax_t iterCount = 0; | | | 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | } - (OFDataArray*)XMPP_parseServerFirstMessage: (OFDataArray*)data { size_t i; uint8_t *clientKey, *serverKey, *clientSignature; intmax_t iterCount = 0; id <OFHash> hash; OFDataArray *ret, *authMessage, *tmpArray, *salt = nil, *saltedPassword; OFString *tmpString, *sNonce = nil; OFEnumerator *enumerator; OFString *comp; enum { GOT_SNONCE = 0x01, GOT_SALT = 0x02, |
︙ | ︙ | |||
427 428 429 430 431 432 433 | - (uint8_t*)XMPP_HMACWithKey: (OFDataArray*)key data: (OFDataArray*)data { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFDataArray *k = [OFDataArray dataArray]; size_t i, kSize, blockSize = [_hashType blockSize]; uint8_t *kI = NULL, *kO = NULL; | | | 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 | - (uint8_t*)XMPP_HMACWithKey: (OFDataArray*)key data: (OFDataArray*)data { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFDataArray *k = [OFDataArray dataArray]; size_t i, kSize, blockSize = [_hashType blockSize]; uint8_t *kI = NULL, *kO = NULL; id <OFHash> hashI, hashO; if ([key itemSize] * [key count] > blockSize) { hashI = [[[_hashType alloc] init] autorelease]; [hashI updateWithBuffer: [key items] length: [key itemSize] * [key count]]; [k addItems: [hashI digest] count: [_hashType digestSize]]; |
︙ | ︙ |