diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-07-23 21:06:59 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-07-23 21:19:09 +0200 |
commit | 549a4f3c2f937dde900672ebff6ed605f8c9043d (patch) | |
tree | 406282334687edd251843ef8481cf7ba6e7e66e3 /Library/VeraCryptLib/DcsVeraCrypt.c | |
parent | 2a915cd1e3eccca468364fea4fbe58e0bb8626f6 (diff) | |
download | VeraCrypt-DCS-549a4f3c2f937dde900672ebff6ed605f8c9043d.tar.gz VeraCrypt-DCS-549a4f3c2f937dde900672ebff6ed605f8c9043d.zip |
Add option "KeyboardInputDelay" in DcsProp to control the minimum delay supported between two key strokes (default is 100 ms)
Diffstat (limited to 'Library/VeraCryptLib/DcsVeraCrypt.c')
-rw-r--r-- | Library/VeraCryptLib/DcsVeraCrypt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/VeraCryptLib/DcsVeraCrypt.c b/Library/VeraCryptLib/DcsVeraCrypt.c index d3eecef..e51c560 100644 --- a/Library/VeraCryptLib/DcsVeraCrypt.c +++ b/Library/VeraCryptLib/DcsVeraCrypt.c @@ -150,6 +150,7 @@ VCAuthLoadConfig() gPasswordVisible = (UINT8)ConfigReadInt("AuthorizeVisible", 0); // show chars
gPasswordShowMark = ConfigReadInt("AuthorizeMarkTouch", 1); // show touch points
gPasswordTimeout = (UINT8)ConfigReadInt("PasswordTimeout", 180); // If no password for <seconds> => <ESC>
+ gKeyboardInputDelay = (UINTN)ConfigReadInt("KeyboardInputDelay", 100); // minimum number of ms between two valid key strokes, anything between is discarded
gDcsBootForce = ConfigReadInt("DcsBootForce", 1); // Ask password even if no USB marked found.
|