diff options
author | Werner Koch <[email protected]> | 2014-10-03 16:28:58 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-10-03 16:28:58 +0000 |
commit | f68123551f4d5b286309006da67c57878f6cc619 (patch) | |
tree | 3be29e47694717d019e6211b285a7638df7686be | |
parent | gpg: Add build and runtime support for larger RSA keys (diff) | |
download | gnupg-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.c | 4 |
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); |