ObjXMPP  Check-in [7f2f895934]

Overview
Comment:Get rid of warnings.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7f2f895934106507c908f11165e5b2a150d49b28256f0accf58cc364668cc8b7
User & Date: js on 2011-03-30 11:26:12
Other Links: manifest | tags
Context
2011-03-30
11:29
Use the "js buildsys". check-in: 7516424d65 user: js tags: trunk
11:26
Get rid of warnings. check-in: 7f2f895934 user: js tags: trunk
2011-03-29
01:51
Import <bsd/stdlib.h> if not on a BSD system. Still needs LIBS=-lbsd. check-in: 168813e54d user: js tags: trunk
Changes

Modified src/XMPPSCRAMAuth.m from [a71d5f22e6] to [7e9107b0df].

154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
	return ret;
}

- (OFDataArray*)calculateResponseWithChallenge: (OFDataArray*)challenge
{
	size_t i;
	uint8_t *clientKey, *serverKey, *clientSignature;
	intmax_t iterCount;
	OFHash *hash;
	OFDataArray *ret, *authMessage, *tmpArray, *salt, *saltedPassword;
	OFString *tmpString, *sNonce;
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	OFEnumerator *enumerator;
	OFString *comp;
	enum {
		GOT_SNONCE, GOT_SALT, GOT_ITERCOUNT
	} got = 0;








|

|
|







154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
	return ret;
}

- (OFDataArray*)calculateResponseWithChallenge: (OFDataArray*)challenge
{
	size_t i;
	uint8_t *clientKey, *serverKey, *clientSignature;
	intmax_t iterCount = 0;
	OFHash *hash;
	OFDataArray *ret, *authMessage, *tmpArray, *salt = nil, *saltedPassword;
	OFString *tmpString, *sNonce = nil;
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	OFEnumerator *enumerator;
	OFString *comp;
	enum {
		GOT_SNONCE, GOT_SALT, GOT_ITERCOUNT
	} got = 0;