Home GnuPG

ecc: Fix Ed25519 private key handling for preceding ZEROs.

Description

ecc: Fix Ed25519 private key handling for preceding ZEROs.

* cipher/ecc-curves.c (mpi_ec_setup_elliptic_curve): Fill-up or remove
preceding ZEROs correctly, fixing the third argument of mpi_set_opaque.