summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-03-26 20:49:11 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-03-26 20:49:11 +0700
commita5ee312d22b65c8902f91e6700e3ab0120a7e5d7 (patch)
tree87f299edcc00ad3e0cfe47d9947dd0db2857dd82 /crypto/test
parentImprove TLS RSA PreMasterSecret decryption (diff)
downloadBouncyCastle.NET-ed25519-a5ee312d22b65c8902f91e6700e3ab0120a7e5d7.tar.xz
Refactoring in Asn1
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/asn1/test/RelativeOidTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/asn1/test/RelativeOidTest.cs b/crypto/test/src/asn1/test/RelativeOidTest.cs
index c7d13af68..bbf83064a 100644
--- a/crypto/test/src/asn1/test/RelativeOidTest.cs
+++ b/crypto/test/src/asn1/test/RelativeOidTest.cs
@@ -45,7 +45,7 @@ namespace Org.BouncyCastle.Asn1.Tests
             Asn1RelativeOid o = new Asn1RelativeOid(oid);
 			o = (Asn1RelativeOid)Asn1Object.FromByteArray(o.GetEncoded());
 
-			if (!o.Id.Equals(oid))
+			if (!o.GetID().Equals(oid))
 			{
                 Fail("failed relative oid check for " + oid);
             }
@@ -69,7 +69,7 @@ namespace Org.BouncyCastle.Asn1.Tests
         private void BranchCheck(string stem, string branch)
         {
             string expected = stem + "." + branch;
-            string actual = new Asn1RelativeOid(stem).Branch(branch).Id;
+            string actual = new Asn1RelativeOid(stem).Branch(branch).GetID();
 
             if (expected != actual)
             {