summary refs log tree commit diff
path: root/crypto/src/pkcs
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2021-08-30 16:38:58 +1000
committerDavid Hook <dgh@cryptoworkshop.com>2021-08-30 16:38:58 +1000
commit46bf6e3b4366c18d916d4e180627fddba018a9a4 (patch)
treea6f38f9ef5736ad8a47ac7b1326578fdf17f6c8d /crypto/src/pkcs
parentinitial fix for #261 (diff)
downloadBouncyCastle.NET-ed25519-46bf6e3b4366c18d916d4e180627fddba018a9a4.tar.xz
fixed typos
Diffstat (limited to 'crypto/src/pkcs')
-rw-r--r--crypto/src/pkcs/Pkcs12Store.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/pkcs/Pkcs12Store.cs b/crypto/src/pkcs/Pkcs12Store.cs
index d71fbe862..61240d774 100644
--- a/crypto/src/pkcs/Pkcs12Store.cs
+++ b/crypto/src/pkcs/Pkcs12Store.cs
@@ -365,7 +365,7 @@ namespace Org.BouncyCastle.Pkcs
                                 if (aOid.Equals(PkcsObjectIdentifiers.Pkcs9AtLocalKeyID))
                                 {
                                     String id = Hex.ToHexString(Asn1OctetString.GetInstance(attr).GetOctets());
-                                    if (!(keys.Keys[id] != null || localIds.Keys[id] != null))
+                                    if (!(keys[id] != null || localIds[id] != null))
                                     {
                                         continue; // ignore this one - it's not valid
                                     }