Browse Source

fix built

UbitUmarov 2 months ago
parent
commit
7587595f92
1 changed files with 2 additions and 1 deletions
  1. 2 1
      OpenSim/Framework/Util.cs

+ 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)
             {