Merge pull request #4195 from lateralusX/jlorenss/win-build-dependency
[mono.git] / mcs / class / System / System.Security.Cryptography.X509Certificates / X509ChainImplMono.cs
index 210bd8fc911e39771f81ad4440e828aed1a69c9b..de9b1990e86af49d99edc509cdbd9832eaa83dd7 100644 (file)
@@ -699,7 +699,7 @@ namespace System.Security.Cryptography.X509Certificates {
                        if (pubkey == null)
                                return false;
                        // Sadly X509Certificate2 doesn't expose the signature nor the tbs (to be signed) structure
-                       MX.X509Certificate mx = signed.MonoCertificate;
+                       var mx = signed.MonoCertificate;
                        return (mx.VerifySignature (pubkey));
                }
 
@@ -725,7 +725,7 @@ namespace System.Security.Cryptography.X509Certificates {
                {
                        if (ext == null)
                                return String.Empty;
-                       MX.Extensions.AuthorityKeyIdentifierExtension aki = new MX.Extensions.AuthorityKeyIdentifierExtension (ext);
+                       var aki = new MX.Extensions.AuthorityKeyIdentifierExtension (ext);
                        byte[] id = aki.Identifier;
                        if (id == null) 
                                return String.Empty;