aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-03-10 08:49:40 +0100
committerSimon Rozman <simon@rozman.si>2020-03-10 08:49:40 +0100
commitbb53d75878a8986b9fe4065963c3e73606f7bd60 (patch)
treeb9ee40f6e19fe52cd832f328898e72fe59fb34a0
parentReschedule EvaluateWintun between InstallInitialize and InstallFinalize (diff)
downloadwintun-sr/installer-cert-source.tar.xz
wintun-sr/installer-cert-source.zip
installer: use catalog file for signing certificate extractionsr/installer-cert-source
The .sys file of the driver does not need to be digitally signed. It is the .cat file that Windows is checking for complete driver .inf+.sys+ .cat bundle. Signed-off-by: Simon Rozman <simon@rozman.si>
-rw-r--r--installer/installation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/installation.c b/installer/installation.c
index cd93ffb..74044b4 100644
--- a/installer/installation.c
+++ b/installer/installation.c
@@ -277,7 +277,7 @@ InstallWintun(BOOL UpdateExisting)
RtlGetNtVersionNumbers(&MajorVersion, NULL, NULL);
UseWHQL = MajorVersion >= 10;
#endif
- if (!UseWHQL && !InstallWintunCertificate(TEXT("wintun.sys")))
+ if (!UseWHQL && !InstallWintunCertificate(TEXT("wintun.cat")))
PrintError(LOG_WARN, TEXT("Unable to install code signing certificate"));
Logger(LOG_INFO, TEXT("Copying resources to temporary path"));