diff options
author | kavsrf <kavsrf@gmail.com> | 2016-12-04 13:47:30 +0300 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-05 17:36:50 +0200 |
commit | 34084323db70bc5bedb98d371a30b83ed0e2ada0 (patch) | |
tree | 9c451722f9006c8474c42d8b5f65ea772eb3353f /Library/PasswordLib/ConsolePassword.c | |
parent | 6701b862aa96775609a7d42662ae4a98e43071bb (diff) | |
download | VeraCrypt-DCS-34084323db70bc5bedb98d371a30b83ed0e2ada0.tar.gz VeraCrypt-DCS-34084323db70bc5bedb98d371a30b83ed0e2ada0.zip |
SC stub
Diffstat (limited to 'Library/PasswordLib/ConsolePassword.c')
-rw-r--r-- | Library/PasswordLib/ConsolePassword.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/PasswordLib/ConsolePassword.c b/Library/PasswordLib/ConsolePassword.c index fc03d24..1d82fd0 100644 --- a/Library/PasswordLib/ConsolePassword.c +++ b/Library/PasswordLib/ConsolePassword.c @@ -75,6 +75,10 @@ AskConsolePwdInt( ConsoleShowTip(gTPMLocked ? L" TPM locked!" : L" TPM unlocked!", 10000000);
}
+ if (key.ScanCode == SCAN_F9) {
+ gSCLocked = gSCLocked ? 0 : 1;
+ ConsoleShowTip(gSCLocked ? L" Smart card locked!" : L" Smart card unlocked!", 10000000);
+ }
if (key.UnicodeChar == CHAR_CARRIAGE_RETURN) {
*retCode = AskPwdRetLogin;
|