Backport nonce_error_corrections workaround from -m 22000 to -m 22001

This commit is contained in:
Jens Steube
2021-10-17 19:31:17 +02:00
parent 8f41c346ef
commit 707bff5c20
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -1073,7 +1073,6 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
{
// replaycount not checked, nc needed
wpa->nonce_error_corrections = NONCE_ERROR_CORRECTIONS; // temporary until architectural change done (module_hash_decode_postprocess?)
}
else
{
+1
View File
@@ -1072,6 +1072,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
if (wpa->message_pair & (1 << 7))
{
// replaycount not checked, nc needed
wpa->nonce_error_corrections = NONCE_ERROR_CORRECTIONS; // temporary until architectural change done (module_hash_decode_postprocess?)
}
else
{