Adjust to ObjFW changes

This commit is contained in:
Jonathan Schleifer 2017-01-22 00:49:14 +01:00
parent 1cf318f91e
commit 091cdac2b2
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
5 changed files with 11 additions and 6 deletions

View file

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