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

Commit abb571f

Browse files
Merge pull request #570 from justcoding121/master
Beta
2 parents f9add9f + 0f19fea commit abb571f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Doneness:
22
- [ ] Build is okay - I made sure that this change is building successfully.
33
- [ ] No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of.
4-
- [ ] Branching - If this is not a hotfix, I am making this request against master branch
4+
- [ ] Branching - If this is not a hotfix, I am making this request against the master branch

src/Titanium.Web.Proxy/Network/DefaultCertificateDiskCache.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ public void Clear()
5959
private X509Certificate2 loadCertificate(string path, string password, X509KeyStorageFlags storageFlags)
6060
{
6161
byte[] exported;
62+
63+
if (!File.Exists(path))
64+
{
65+
return null;
66+
}
67+
6268
try
6369
{
6470
exported = File.ReadAllBytes(path);

0 commit comments

Comments
 (0)