ObjXMPP  Diff

Differences From Artifact [e90f7d753a]:

To Artifact [fa1e8e1b1b]:


195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
	[pool release];

	return [hash digest];
}

- (OFDataArray*)_hiWithData: (OFDataArray *)str
		       salt: (OFDataArray *)salt_
	     iterationCount: (unsigned int)i
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	size_t digestSize = [hashType digestSize];
	uint8_t *result = NULL, *u, *uOld;
	unsigned int j, k;
	OFDataArray *salty, *tmp, *ret;

	result = [self allocMemoryWithSize: digestSize];

	@try {
		memset(result, 0, digestSize);








|




|







195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
	[pool release];

	return [hash digest];
}

- (OFDataArray*)_hiWithData: (OFDataArray *)str
		       salt: (OFDataArray *)salt_
	     iterationCount: (intmax_t)i
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	size_t digestSize = [hashType digestSize];
	uint8_t *result = NULL, *u, *uOld;
	intmax_t j, k;
	OFDataArray *salty, *tmp, *ret;

	result = [self allocMemoryWithSize: digestSize];

	@try {
		memset(result, 0, digestSize);