summary refs log tree commit diff
path: root/crypto/src/asn1/crmf/ProofOfPossession.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/crmf/ProofOfPossession.cs')
-rw-r--r--crypto/src/asn1/crmf/ProofOfPossession.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/src/asn1/crmf/ProofOfPossession.cs b/crypto/src/asn1/crmf/ProofOfPossession.cs
index 8957169d7..7ba7251a1 100644
--- a/crypto/src/asn1/crmf/ProofOfPossession.cs
+++ b/crypto/src/asn1/crmf/ProofOfPossession.cs
@@ -28,7 +28,8 @@ namespace Org.BouncyCastle.Asn1.Crmf
                 break;
             case 2:
             case 3:
-                obj = PopoPrivKey.GetInstance(tagged, false);
+                // CHOICE so explicit
+                obj = PopoPrivKey.GetInstance(tagged, true);
                 break;
             default:
                 throw new ArgumentException("unknown tag: " + tagNo, "tagged");