diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-09-08 09:38:51 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-09-08 09:38:51 +0200 |
commit | f15052e68d43bdad8d8a125a3601ff8cedcf5a3d (patch) | |
tree | e40dbe4462089c11e4bf118d9e1e3c68f33f1c13 /src/Common/Keyfiles.c | |
parent | d74ea60436ab9078c356f7be0daca639d39e3fc3 (diff) | |
download | VeraCrypt-f15052e68d43bdad8d8a125a3601ff8cedcf5a3d.tar.gz VeraCrypt-f15052e68d43bdad8d8a125a3601ff8cedcf5a3d.zip |
Windows: Add link in keyfiles dialog to documentation page for risks of third-party file extensions usage.
Diffstat (limited to 'src/Common/Keyfiles.c')
-rw-r--r-- | src/Common/Keyfiles.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Common/Keyfiles.c b/src/Common/Keyfiles.c index 04319e09..d10daa06 100644 --- a/src/Common/Keyfiles.c +++ b/src/Common/Keyfiles.c @@ -484,6 +484,7 @@ BOOL CALLBACK KeyFilesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa SetWindowTextW(GetDlgItem(hwndDlg, IDT_KEYFILES_NOTE), GetString ("KEYFILES_NOTE")); ToHyperlink (hwndDlg, IDC_LINK_KEYFILES_INFO); + ToHyperlink (hwndDlg, IDC_LINK_KEYFILES_EXTENSIONS_WARNING); } return 1; @@ -627,6 +628,12 @@ BOOL CALLBACK KeyFilesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa return 1; } + if (lw == IDC_LINK_KEYFILES_EXTENSIONS_WARNING) + { + Applink ("keyfilesextensions"); + return 1; + } + if (lw == IDOK) { param->EnableKeyFiles = IsButtonChecked (GetDlgItem (hwndDlg, IDC_KEYFILES_ENABLE)); |