summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2020-06-21 16:51:44 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2020-06-21 16:51:44 +0700
commit41b958574a73129cce16f5051609b6412cde3f49 (patch)
tree964ada0d6cacc03f50aa4b5242970f0ab71d5931
parentfirst cut at PKCS#5 Scheme 2 in PKCS#12 (diff)
downloadBouncyCastle.NET-ed25519-41b958574a73129cce16f5051609b6412cde3f49.tar.xz
Don't use 'var' keyword
-rw-r--r--crypto/test/src/security/test/TestEncodings.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/test/src/security/test/TestEncodings.cs b/crypto/test/src/security/test/TestEncodings.cs
index 91e1375dd..d83b2dda5 100644
--- a/crypto/test/src/security/test/TestEncodings.cs
+++ b/crypto/test/src/security/test/TestEncodings.cs
@@ -188,9 +188,9 @@ namespace Org.BouncyCastle.Security.Tests
                 + "ajvbCU6x9jK49PgQqCP00T/lW3laXCXueMF8X4Q1y3N9zfOJT2s/IgyPJVrUhgtO"
                 + "1Akp+Roh8bCPPlqgODA2BggqhQMCCQMIATEqBCi72ZvrBVW6mFL/bQeXeMTf8Jh8"
                 + "p/diI7Cg8ig4mXg3tsIUf4vBi61b");
-    
-            var keyInfo = PrivateKeyInfo.GetInstance(data);
-            var akp = Org.BouncyCastle.Security.PrivateKeyFactory.CreateKey(keyInfo);
+
+            PrivateKeyInfo keyInfo = PrivateKeyInfo.GetInstance(data);
+            AsymmetricKeyParameter akp = Org.BouncyCastle.Security.PrivateKeyFactory.CreateKey(keyInfo);
         }
     }
 }