VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-09-22 23:18:51 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-09-23 00:12:19 +0200
commit398078c40e10baef0a4261e39b7e689f9e21f005 (patch)
treed5cdccd1ac1f8d10222ef5d6928c1ee03baeaa1a
parent3f79a9828df59a1722745f3deba34c909583fd6c (diff)
downloadVeraCrypt-DCS-398078c40e10baef0a4261e39b7e689f9e21f005.tar.gz
VeraCrypt-DCS-398078c40e10baef0a4261e39b7e689f9e21f005.zip
Fix issue that was preventing Streebog hash from being selected manually during Pre-Boot authentication
-rw-r--r--Library/VeraCryptLib/DcsVeraCrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/VeraCryptLib/DcsVeraCrypt.c b/Library/VeraCryptLib/DcsVeraCrypt.c
index 10bb7d7..4cf0e05 100644
--- a/Library/VeraCryptLib/DcsVeraCrypt.c
+++ b/Library/VeraCryptLib/DcsVeraCrypt.c
@@ -417,7 +417,7 @@ VCAuthAsk()
if (gAuthHashRqt) {
do {
gAuthHash = AskInt(gAuthHashMsg, gPasswordVisible);
- } while (gAuthHash < 0 || gAuthHash > 4);
+ } while (gAuthHash < 0 || gAuthHash > 5);
}
}