mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-14 06:13:09 +00:00
nfqws2: bsd compile fixes
This commit is contained in:
@@ -102,9 +102,8 @@ int hmacReset(HMACContext *context, enum SHAversion whichSha,
|
||||
*/
|
||||
if (key_len > blocksize) {
|
||||
USHAContext tcontext;
|
||||
if (ret=USHAReset(&tcontext, whichSha)) return ret;
|
||||
if (ret=USHAInput(&tcontext, key, key_len)) return ret;
|
||||
if (ret=USHAResult(&tcontext, tempkey)) return ret;
|
||||
if ((ret=USHAReset(&tcontext, whichSha)) || (ret=USHAInput(&tcontext, key, key_len)) || (ret=USHAResult(&tcontext, tempkey)))
|
||||
return ret;
|
||||
|
||||
key = tempkey;
|
||||
key_len = hashsize;
|
||||
|
||||
Reference in New Issue
Block a user