diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-10-09 18:28:10 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-10-09 18:28:10 +0700 |
commit | 333baf8b0d8c4bd383f9e06f4413032f5e1fd707 (patch) | |
tree | cd66417d4c3b7666aa01733313897182338cc736 /crypto/src/pkcs/Pkcs12Store.cs | |
parent | Clean up usage of AutoResetEvent (PORTABLE only) (diff) | |
download | BouncyCastle.NET-ed25519-333baf8b0d8c4bd383f9e06f4413032f5e1fd707.tar.xz |
Fix unmarked key regression
- see https://github.com/bcgit/bc-csharp/issues/94
Diffstat (limited to 'crypto/src/pkcs/Pkcs12Store.cs')
-rw-r--r-- | crypto/src/pkcs/Pkcs12Store.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/src/pkcs/Pkcs12Store.cs b/crypto/src/pkcs/Pkcs12Store.cs index e65788733..507c0e3ee 100644 --- a/crypto/src/pkcs/Pkcs12Store.cs +++ b/crypto/src/pkcs/Pkcs12Store.cs @@ -367,6 +367,10 @@ namespace Org.BouncyCastle.Pkcs keyCerts[name] = certEntry; keys[name] = unmarkedKeyEntry; } + else + { + keys["unmarked"] = unmarkedKeyEntry; + } } else { |