From 113658ae7e3df46d864f47ddb87271979ba6186d Mon Sep 17 00:00:00 2001 From: David Hook Date: Thu, 2 Sep 2021 13:26:00 +1000 Subject: minor refactoring --- crypto/test/src/pkcs/test/PKCS10Test.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/test/src/pkcs') diff --git a/crypto/test/src/pkcs/test/PKCS10Test.cs b/crypto/test/src/pkcs/test/PKCS10Test.cs index 7eab8fccd..3a17b53a9 100644 --- a/crypto/test/src/pkcs/test/PKCS10Test.cs +++ b/crypto/test/src/pkcs/test/PKCS10Test.cs @@ -113,7 +113,7 @@ namespace Org.BouncyCastle.Pkcs.Tests // Disassemble the attributes with the duplicate extensions. // - var extensions = req2.GetX509Extensions(); + var extensions = req2.GetRequestedExtensions(); X509Extension returnedExtension = extensions.GetExtension(X509Extensions.SubjectAlternativeName); Asn1Sequence seq = Asn1Sequence.GetInstance(returnedExtension.GetParsedValue()); -- cgit 1.4.1