diff options
author | Kai Engert <kaie@kuix.de> | 2015-10-15 20:47:36 +0200 |
---|---|---|
committer | Kai Engert <kaie@kuix.de> | 2015-10-15 20:47:36 +0200 |
commit | a1fbd9965f2d3e60ebe81fe235208ece4cb868f7 (patch) | |
tree | 1ac71c1a1e78887c9c9100d7230b5eebc54de719 /lib | |
parent | d8c120ca5183102dc7cda3a47dcec2b088d7e422 (diff) | |
download | nss-hg-a1fbd9965f2d3e60ebe81fe235208ece4cb868f7.tar.gz |
Bug 1192028, Windows bustage fix, variable declarations must go first
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/secasn1d.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util/secasn1d.c b/lib/util/secasn1d.c index 9219847b8..7a5bcfd03 100644 --- a/lib/util/secasn1d.c +++ b/lib/util/secasn1d.c @@ -985,6 +985,7 @@ sec_asn1d_prepare_for_contents (sec_asn1d_state *state) SECItem *item; PLArenaPool *poolp; unsigned long alloc_len; + sec_asn1d_state *parent; #ifdef DEBUG_ASN1D_STATES { @@ -1020,7 +1021,7 @@ sec_asn1d_prepare_for_contents (sec_asn1d_state *state) /* Determine the maximum length available for this element by finding the * first definite length ancestor, if any. */ - sec_asn1d_state *parent = sec_asn1d_get_enclosing_construct(state); + parent = sec_asn1d_get_enclosing_construct(state); while (parent && parent->indefinite) { parent = sec_asn1d_get_enclosing_construct(parent); } |