diff options
author | wtc%google.com <devnull@localhost> | 2011-04-07 22:35:18 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2011-04-07 22:35:18 +0000 |
commit | 8c750f97ee24236c2469ac7b1789dc59ebba2f7c (patch) | |
tree | d563ac20a85c8a1b75ce603566ae2f8bab8a9393 | |
parent | 4274bed6e87cd7ec5b06358d06bc343e674d6201 (diff) | |
download | nss-hg-8c750f97ee24236c2469ac7b1789dc59ebba2f7c.tar.gz |
Bug 559508: move the ++mp_copies statement after variable declarations.
TBR=rrelyea.
-rw-r--r-- | security/nss/lib/freebl/mpi/mpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/mpi/mpi.c b/security/nss/lib/freebl/mpi/mpi.c index f641b37f6..8f30384ce 100644 --- a/security/nss/lib/freebl/mpi/mpi.c +++ b/security/nss/lib/freebl/mpi/mpi.c @@ -2862,7 +2862,6 @@ void s_mp_setz(mp_digit *dp, mp_size count) /* Copy 'count' digits from sp to dp */ void s_mp_copy(const mp_digit *sp, mp_digit *dp, mp_size count) { - ++mp_copies; #if MP_MEMCPY == 0 int ix; @@ -2871,6 +2870,7 @@ void s_mp_copy(const mp_digit *sp, mp_digit *dp, mp_size count) #else memcpy(dp, sp, count * sizeof(mp_digit)); #endif + ++mp_copies; } /* end s_mp_copy() */ #endif |