Home GnuPG

cipher: Fix ElGamal decryption.
2839aaee3e6eUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

cipher: Fix ElGamal decryption.

* cipher/elgamal.c (elg_decrypt): Call sexp_build always.
* cipher/rsa.c (rsa_decrypt): Return an error code of sexp_build
when RC != 0.

Cherry-pick master commit of:
6d1d50ba3aad1850975f717adbedb4cb8b236fa7

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

Details

Provenance
gniibeAuthored on Oct 31 2023, 7:09 AM
Parents
rCc98b5e4a1471: rsa: Use memmov_independently when unpadding.
Branches
Unknown
Tags
Unknown

Event Timeline