summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-06-20 21:29:18 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-06-20 21:29:18 +0700
commit3b505be299fc4e147598605a9ee30c10a7e3eb85 (patch)
tree946d70722499668b38ed038c2311d92ac08a373a /crypto/test
parentAdd Try... methods to DerInteger for small value accessors (diff)
downloadBouncyCastle.NET-ed25519-3b505be299fc4e147598605a9ee30c10a7e3eb85.tar.xz
Refactoring in Asn1.Pkcs
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/crypto/test/Pkcs5Test.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/crypto/test/Pkcs5Test.cs b/crypto/test/src/crypto/test/Pkcs5Test.cs
index d3d22172f..649fe69e5 100644
--- a/crypto/test/src/crypto/test/Pkcs5Test.cs
+++ b/crypto/test/src/crypto/test/Pkcs5Test.cs
@@ -94,7 +94,7 @@ namespace Org.BouncyCastle.Crypto.Tests
                 EncryptedPrivateKeyInfo info = null;
                 try
                 {
-                    info = EncryptedPrivateKeyInfo.GetInstance(Asn1Object.FromByteArray(sample));
+                    info = EncryptedPrivateKeyInfo.GetInstance(sample);
                 }
                 catch (System.Exception e)
                 {