Adjust to recent ObjFW changes.

This commit is contained in:
Jonathan Schleifer 2013-02-19 00:16:20 +01:00
parent f186c4f302
commit d80dbedd1b

View file

@ -202,7 +202,7 @@
size_t i; size_t i;
uint8_t *clientKey, *serverKey, *clientSignature; uint8_t *clientKey, *serverKey, *clientSignature;
intmax_t iterCount = 0; intmax_t iterCount = 0;
OFHash *hash; id <OFHash> hash;
OFDataArray *ret, *authMessage, *tmpArray, *salt = nil, *saltedPassword; OFDataArray *ret, *authMessage, *tmpArray, *salt = nil, *saltedPassword;
OFString *tmpString, *sNonce = nil; OFString *tmpString, *sNonce = nil;
OFEnumerator *enumerator; OFEnumerator *enumerator;
@ -431,7 +431,7 @@
OFDataArray *k = [OFDataArray dataArray]; OFDataArray *k = [OFDataArray dataArray];
size_t i, kSize, blockSize = [_hashType blockSize]; size_t i, kSize, blockSize = [_hashType blockSize];
uint8_t *kI = NULL, *kO = NULL; uint8_t *kI = NULL, *kO = NULL;
OFHash *hashI, *hashO; id <OFHash> hashI, hashO;
if ([key itemSize] * [key count] > blockSize) { if ([key itemSize] * [key count] > blockSize) {
hashI = [[[_hashType alloc] init] autorelease]; hashI = [[[_hashType alloc] init] autorelease];