mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-29 11:42:14 +01:00
wc_HKDF_Expand_ex: correctly advance the index
This commit is contained in:
@@ -1581,7 +1581,7 @@ int wolfSSL_GetHmacMaxSize(void)
|
||||
left = min(left, hashSz);
|
||||
XMEMCPY(out+outIdx, tmp, left);
|
||||
|
||||
outIdx += hashSz;
|
||||
outIdx += left;
|
||||
n++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user