Unverified Commit abb571f8 authored by Jehonathan Thomas's avatar Jehonathan Thomas Committed by GitHub

Merge pull request #570 from justcoding121/master

Beta
parents f9add9fe 0f19fea8
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
......@@ -59,6 +59,12 @@ namespace Titanium.Web.Proxy.Network
private X509Certificate2 loadCertificate(string path, string password, X509KeyStorageFlags storageFlags)
{
byte[] exported;
if (!File.Exists(path))
{
return null;
}
try
{
exported = File.ReadAllBytes(path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment