diff options
Diffstat (limited to 'mpi/mpih-div.c')
-rw-r--r-- | mpi/mpih-div.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpi/mpih-div.c b/mpi/mpih-div.c index 0d711cb58..3b90994e8 100644 --- a/mpi/mpih-div.c +++ b/mpi/mpih-div.c @@ -1,6 +1,6 @@ /* mpihelp-div.c - MPI helper functions * Copyright (C) 1998 Free Software Foundation, Inc. - * Copyright (C) 1994, 1996 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 2000 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -338,7 +338,7 @@ mpihelp_divrem( mpi_ptr_t qp, mpi_size_t qextra_limbs, } else { n2 = np[dsize - 1]; - MPN_COPY_DECR (np + 1, np, dsize); + MPN_COPY_DECR (np + 1, np, dsize - 1); np[0] = 0; } |