1
0
UbitUmarov 2 сар өмнө
parent
commit
7587595f92

+ 2 - 1
OpenSim/Framework/Util.cs

@@ -1579,9 +1579,10 @@ namespace OpenSim.Framework
             }
 
             // Convert .pem (like Let's Encrypt files) to X509Certificate2 certificate.
+            X509Certificate2 certificate;
             try
             {
-                X509Certificate2 certificate = X509Certificate2.CreateFromPemFile(certPath, keyPath);
+                certificate = X509Certificate2.CreateFromPemFile(certPath, keyPath);
             }
             catch(CryptographicException e)
             {