summaryrefslogtreecommitdiff
path: root/mpi/mpih-div.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2000-07-17 14:32:20 +0000
committerWerner Koch <wk@gnupg.org>2000-07-17 14:32:20 +0000
commit487fe72494051de4a7e513c15b6a895dcd0164ce (patch)
tree82411404fe06df0c1c98193275ec2055c52ec016 /mpi/mpih-div.c
parent74386120dad6b3da62db37f7044267c8ef34689b (diff)
downloadlibgcrypt-487fe72494051de4a7e513c15b6a895dcd0164ce.tar.gz
See ChangeLog: Mon Jul 17 16:35:47 CEST 2000 Werner Koch
Diffstat (limited to 'mpi/mpih-div.c')
-rw-r--r--mpi/mpih-div.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpi/mpih-div.c b/mpi/mpih-div.c
index 0d711cb5..3b90994e 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;
}