From 3b505be299fc4e147598605a9ee30c10a7e3eb85 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 20 Jun 2024 21:29:18 +0700 Subject: Refactoring in Asn1.Pkcs --- crypto/test/src/crypto/test/Pkcs5Test.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/test') 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) { -- cgit 1.4.1