From 76ceb77be44bcacbcc45a7e686ac23fc63899285 Mon Sep 17 00:00:00 2001 From: "nicolson%netscape.com" Date: Thu, 19 Dec 2002 02:31:38 +0000 Subject: [PATCH] Fix 186097: ProofOfPossession.encode() has paranoid assertion. --- security/jss/org/mozilla/jss/pkix/crmf/ProofOfPossession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/jss/org/mozilla/jss/pkix/crmf/ProofOfPossession.java b/security/jss/org/mozilla/jss/pkix/crmf/ProofOfPossession.java index 25069ea31392..49aa14b0d904 100644 --- a/security/jss/org/mozilla/jss/pkix/crmf/ProofOfPossession.java +++ b/security/jss/org/mozilla/jss/pkix/crmf/ProofOfPossession.java @@ -196,7 +196,7 @@ public class ProofOfPossession implements ASN1Value { public void encode(Tag implicitTag, OutputStream ostream) throws IOException { - Assert.notReached("A CHOICE cannot be implicitly tagged"); + Assert._assert(implicitTag.equals(getTag())); encode(ostream); }