diff options
Diffstat (limited to 'crypto/src/pkcs/Pkcs12Store.cs')
-rw-r--r-- | crypto/src/pkcs/Pkcs12Store.cs | 2 |
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 } |