Home GnuPG

rsa: Fix regression in not returning an error for prime generation.

Description

rsa: Fix regression in not returning an error for prime generation.

* cipher/rsa.c (generate_fips):  Set the default EC again.

That minor bug is not found in any released code.

Details

Provenance
wernerAuthored on Jan 31 2022, 12:50 PM
Parents
rCcb9df21fcbb0: cipher: Initialize values not to confuse static analyzers
Branches
Unknown
Tags
Unknown
Tasks
T5806: Error codes in rsa.c:generate_fips()