VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Registry.c')
-rw-r--r--src/Common/Registry.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Common/Registry.c b/src/Common/Registry.c
index 1cf2843..4216290 100644
--- a/src/Common/Registry.c
+++ b/src/Common/Registry.c
@@ -312,6 +312,13 @@ void DeleteRegistryValue (char *subKey, char *name)
void GetStartupRegKeyName (char *regk, size_t cbRegk)
{
// The string is split in order to prevent some antivirus packages from falsely reporting
- // TrueCrypt.exe to contain a possible Trojan horse because of this string (heuristic scan).
+ // VeraCrypt.exe to contain a possible Trojan horse because of this string (heuristic scan).
StringCbPrintfA (regk, cbRegk,"%s%s", "Software\\Microsoft\\Windows\\Curren", "tVersion\\Run");
}
+
+void GetRestorePointRegKeyName (char *regk, size_t cbRegk)
+{
+ // The string is split in order to prevent some antivirus packages from falsely reporting
+ // VeraCrypt.exe to contain a possible Trojan horse because of this string (heuristic scan).
+ StringCbPrintfA (regk, cbRegk,"%s%s%s%s", "Software\\Microsoft\\Windows", " NT\\Curren", "tVersion\\Sy", "stemRestore");
+} \ No newline at end of file