summary refs log tree commit diff
path: root/crypto/src/x509
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-07-19 16:18:31 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-19 16:18:31 +0700
commitc806df63e3df05eeeb9bf9523528930f5aea36ba (patch)
treecde87e1526ed04d69bc61b41364f41e8ff031506 /crypto/src/x509
parentRefactoring in Cms (diff)
downloadBouncyCastle.NET-ed25519-c806df63e3df05eeeb9bf9523528930f5aea36ba.tar.xz
Refactoring around SubjectPublicKeyInfo
Diffstat (limited to 'crypto/src/x509')
-rw-r--r--crypto/src/x509/store/X509CertStoreSelector.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/x509/store/X509CertStoreSelector.cs b/crypto/src/x509/store/X509CertStoreSelector.cs
index 54ae923a9..ca15b9efa 100644
--- a/crypto/src/x509/store/X509CertStoreSelector.cs
+++ b/crypto/src/x509/store/X509CertStoreSelector.cs
@@ -280,7 +280,7 @@ namespace Org.BouncyCastle.X509.Store
 				return false;
 
 			if (subjectPublicKeyAlgID != null
-				&& !subjectPublicKeyAlgID.Equals(GetSubjectPublicKey(c).AlgorithmID))
+				&& !subjectPublicKeyAlgID.Equals(GetSubjectPublicKey(c).Algorithm))
 				return false;
 
 			return true;