diff options
author | John M. Schanck <jschanck@mozilla.com> | 2022-05-05 17:10:56 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-05-05 17:11:11 -0500 |
commit | aba20255fd900c001dd9ab991cc8fdea13345744 (patch) | |
tree | e3e04e35773ce4b0adf9549a2588b285866ac9a6 /libs | |
parent | d670f8a50b8051c763b01e4125a0262954ab7b4a (diff) | |
download | aura-central-aba20255fd900c001dd9ab991cc8fdea13345744.tar.gz |
Bug 1753535 - Remove obsolete stateEnd check in SEC_ASN1DecoderUpdate.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/nss/src/lib/util/secasn1d.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/nss/src/lib/util/secasn1d.c b/libs/nss/src/lib/util/secasn1d.c index bb1887f7c..9b5586228 100644 --- a/libs/nss/src/lib/util/secasn1d.c +++ b/libs/nss/src/lib/util/secasn1d.c @@ -2750,7 +2750,6 @@ SEC_ASN1DecoderUpdate(SEC_ASN1DecoderContext *cx, sec_asn1d_state *state = NULL; unsigned long consumed; SEC_ASN1EncodingPart what; - sec_asn1d_state *stateEnd = cx->current; if (cx->status == needBytes) cx->status = keepGoing; @@ -2939,7 +2938,7 @@ SEC_ASN1DecoderUpdate(SEC_ASN1DecoderContext *cx, } if (cx->status == decodeError) { - while (state != NULL && stateEnd->parent != state) { + while (state != NULL) { sec_asn1d_free_child(state, PR_TRUE); state = state->parent; } |