Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Beta #570

Merged
merged 4 commits into from
Mar 31, 2019
Merged

Beta #570

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Doneness:
- [ ] Build is okay - I made sure that this change is building successfully.
- [ ] No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of.
- [ ] Branching - If this is not a hotfix, I am making this request against master branch
- [ ] Branching - If this is not a hotfix, I am making this request against the master branch
6 changes: 6 additions & 0 deletions src/Titanium.Web.Proxy/Network/DefaultCertificateDiskCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ public void Clear()
private X509Certificate2 loadCertificate(string path, string password, X509KeyStorageFlags storageFlags)
{
byte[] exported;

if (!File.Exists(path))
{
return null;
}

try
{
exported = File.ReadAllBytes(path);
Expand Down