From 707bff5c200a35b6f19e1aac5a751cf1465b84e0 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sun, 17 Oct 2021 19:31:17 +0200 Subject: [PATCH] Backport nonce_error_corrections workaround from -m 22000 to -m 22001 --- src/modules/module_22000.c | 1 - src/modules/module_22001.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module_22000.c b/src/modules/module_22000.c index b8e247c64..61b40942b 100644 --- a/src/modules/module_22000.c +++ b/src/modules/module_22000.c @@ -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 { diff --git a/src/modules/module_22001.c b/src/modules/module_22001.c index 2c7e1d1aa..aacfe04bb 100644 --- a/src/modules/module_22001.c +++ b/src/modules/module_22001.c @@ -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 {