Changeset 95696 in vbox
- Timestamp:
- Jul 18, 2022 9:07:10 AM (2 years ago)
- Location:
- trunk/src/VBox/Installer/win/Stub
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Stub/Makefile.kmk
r94352 r95696 67 67 VBoxStub.cpp_INCS += $(VBoxStub_0_OUTDIR) 68 68 VBoxStub.cpp_DEFS += VBOX_WITH_CODE_SIGNING 69 ifdef VBOX_WITH_VBOX_LEGACY_TS_CA 70 VBoxStub.cpp_DEFS += VBOX_WITH_VBOX_LEGACY_TS_CA 71 endif 69 72 70 73 $$(VBoxStub_0_OUTDIR)/VBoxStubPublicCert.h: | $$(dir $$@) $(VBOX_RTSIGNTOOL) $(PATH_STAGE_SYS)/VBoxSup.sys … … 92 95 "};" 93 96 $(RM) -f -- "[email protected]" "[email protected]" "[email protected]" "[email protected]" 97 ifdef VBOX_WITH_VBOX_LEGACY_TS_CA 98 $(VBOX_BIN2C) -ascii --append VBoxLegacyWinCA "$(VBOX_LEGACY_TS_CA_FILE)" $@ 99 endif 94 100 95 101 VBoxStubPublicCert.h:: $$(VBoxStub_0_OUTDIR)/VBoxStubPublicCert.h -
trunk/src/VBox/Installer/win/Stub/VBoxStub.cpp
r95030 r95696 49 49 #include <iprt/stream.h> 50 50 #include <iprt/string.h> 51 #include <iprt/system.h> 51 52 #include <iprt/thread.h> 52 53 #include <iprt/utf16.h> … … 822 823 return ShowError("Failed to construct install certificate."); 823 824 } 825 826 # ifdef VBOX_WITH_VBOX_LEGACY_TS_CA 827 if ( RTSystemGetNtVersion() < RTSYSTEM_MAKE_NT_VERSION(10, 0, 0) 828 || false /** @todo windows server 2016 and later */ ) 829 { 830 if (!addCertToStore(CERT_SYSTEM_STORE_LOCAL_MACHINE, "Root", g_abVBoxLegacyWinCA, sizeof(g_abVBoxLegacyWinCA))) 831 return ShowError("Failed to construct install certificate."); 832 } 833 # endif 824 834 return RTEXITCODE_SUCCESS; 825 835 }
Note:
See TracChangeset
for help on using the changeset viewer.