Skip to content

Commit

Permalink
Adds support for TLS 1.2
Browse files Browse the repository at this point in the history
Enable TLS 1.2 as it is not enabled by default in .NET 4.5
  • Loading branch information
Carson-Shook committed Jun 16, 2018
1 parent bed1edb commit ce3db10
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ StupidSimpleUpdater (SSUP) is a an msi-based updater system that is packaged as
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.

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.

## Updates:
* 1.1 2018-06-16 - Added support for TLS 1.2
2 changes: 1 addition & 1 deletion SSUP-merge-x64/MergeModule.wxs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Module Id="SSUP_merge_x64" Language="0" Version="1.0.1.0">
<Module Id="SSUP_merge_x64" Language="0" Version="1.1.0.0">
<Package Id="7184C8D4-8F5D-4804-A4EC-A87FBF8DC73C" Manufacturer="Carson Shook" InstallerVersion="301" InstallScope="perMachine"/>

<Directory Id="TARGETDIR" Name="SourceDir">
Expand Down
2 changes: 1 addition & 1 deletion SSUP-merge-x86/MergeModule.wxs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Module Id="SSUP_merge_x86" Language="0" Version="1.0.1.0">
<Module Id="SSUP_merge_x86" Language="0" Version="1.1.0.0">
<Package Id="665DE138-1CF9-41CD-A07C-D31E997E7A88" Manufacturer="Carson Shook" InstallerVersion="301" InstallScope="perMachine"/>

<Directory Id="TARGETDIR" Name="SourceDir">
Expand Down
2 changes: 2 additions & 0 deletions StupidSimpleUpdater/Updater/UpdateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ public class UpdateManager
public UpdateManager()
{
this.applicationInvoked = false;
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
}

public UpdateManager(bool applicationInvoked)
{
this.applicationInvoked = applicationInvoked;
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
}

#endregion
Expand Down

0 comments on commit ce3db10

Please sign in to comment.