Skip to content

Commit ce3db10

Browse files
committed
Adds support for TLS 1.2
Enable TLS 1.2 as it is not enabled by default in .NET 4.5
1 parent bed1edb commit ce3db10

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ StupidSimpleUpdater (SSUP) is a an msi-based updater system that is packaged as
44
SSUP was built to allow applications with msi-installers to be updated from static websites (such as Github Pages). This requires that each msi be a complete installer rather than a patch or delta update. You can download the latest version of the merge-modules and the sample configuration files from the [releases page](https://github.com/Carson-Shook/StupidSimpleUpdater/releases) of this branch.
55

66
The easiest way to get SSUP up and running is to follow the instructions and examples found in the links of the Quick Setup section on [the wiki homepage](https://github.com/Carson-Shook/StupidSimpleUpdater/wiki). I am working to make this easier to understand and implement, so if you have any suggestions on ways that the wiki can be improved, please open a new issue, and I will get to it as soon as I can.
7+
8+
## Updates:
9+
* 1.1 2018-06-16 - Added support for TLS 1.2

SSUP-merge-x64/MergeModule.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3-
<Module Id="SSUP_merge_x64" Language="0" Version="1.0.1.0">
3+
<Module Id="SSUP_merge_x64" Language="0" Version="1.1.0.0">
44
<Package Id="7184C8D4-8F5D-4804-A4EC-A87FBF8DC73C" Manufacturer="Carson Shook" InstallerVersion="301" InstallScope="perMachine"/>
55

66
<Directory Id="TARGETDIR" Name="SourceDir">

SSUP-merge-x86/MergeModule.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3-
<Module Id="SSUP_merge_x86" Language="0" Version="1.0.1.0">
3+
<Module Id="SSUP_merge_x86" Language="0" Version="1.1.0.0">
44
<Package Id="665DE138-1CF9-41CD-A07C-D31E997E7A88" Manufacturer="Carson Shook" InstallerVersion="301" InstallScope="perMachine"/>
55

66
<Directory Id="TARGETDIR" Name="SourceDir">

StupidSimpleUpdater/Updater/UpdateManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,13 @@ public class UpdateManager
6060
public UpdateManager()
6161
{
6262
this.applicationInvoked = false;
63+
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
6364
}
6465

6566
public UpdateManager(bool applicationInvoked)
6667
{
6768
this.applicationInvoked = applicationInvoked;
69+
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
6870
}
6971

7072
#endregion

0 commit comments

Comments
 (0)