Home GnuPG

mpi: Fix return value of mpi_invm_generic.

Description

mpi: Fix return value of mpi_invm_generic.

* mpi/mpi-inv.c (mpi_invm_generic): Return 0 if inverse does not exist.

Cherry-pick the master commit of:
bc3b6a6a45cf9fa6cc0556da870628c53570f52f

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 24 2020, 7:27 AM
Parents
rC3a16c19d4d63: DSA,ECDSA: Fix use of mpi_invm.
Branches
Unknown
Tags
Unknown