diff --git a/security/jss/org/mozilla/jss/asn1/SEQUENCE.java b/security/jss/org/mozilla/jss/asn1/SEQUENCE.java index 8ac43123f04..3005e2eb366 100644 --- a/security/jss/org/mozilla/jss/asn1/SEQUENCE.java +++ b/security/jss/org/mozilla/jss/asn1/SEQUENCE.java @@ -423,7 +423,7 @@ public static class Template implements ASN1Template { if( remainingContent > 0 ) { throw new InvalidBERException("SEQUENCE is " + remainingContent + - " bytes shorter than expected"); + " bytes longer than expected"); } Assert._assert( remainingContent == 0 || remainingContent == -1 );