aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-10-03 16:28:58 +0000
committerWerner Koch <[email protected]>2014-10-03 16:28:58 +0000
commitf68123551f4d5b286309006da67c57878f6cc619 (patch)
tree3be29e47694717d019e6211b285a7638df7686be
parentgpg: Add build and runtime support for larger RSA keys (diff)
downloadgnupg-f68123551f4d5b286309006da67c57878f6cc619.tar.gz
gnupg-f68123551f4d5b286309006da67c57878f6cc619.zip
mpi: Fix compiler warning.
* mpi/mpi-inv.c (mpi_invm): Do not return a value.
-rw-r--r--mpi/mpi-inv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpi/mpi-inv.c b/mpi/mpi-inv.c
index 361c57ea4..43e97d897 100644
--- a/mpi/mpi-inv.c
+++ b/mpi/mpi-inv.c
@@ -166,9 +166,9 @@ mpi_invm( MPI x, MPI a, MPI n )
int odd ;
if (!mpi_cmp_ui (a, 0))
- return 0; /* Inverse does not exists. */
+ return; /* Inverse does not exists. */
if (!mpi_cmp_ui (n, 1))
- return 0; /* Inverse does not exists. */
+ return; /* Inverse does not exists. */
u = mpi_copy(a);
v = mpi_copy(n);