Adjust to recent ObjFW changes.
This commit is contained in:
parent
f186c4f302
commit
d80dbedd1b
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue