Home GnuPG
Diffusion GnuPG fdc500395640

agent: Make sure to return success in ephemeral store mode.

Description

agent: Make sure to return success in ephemeral store mode.

* agent/genkey.c (store_key): Clear ERR on success.

This fixes a real problem which might let ephemeral store mode fail
randomly.

This is part of

  • GnuPG-bug-id: T7129
  • Co-authored-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
wernerAuthored on May 28 2024, 4:37 PM
Parents
rG021c27510b52: wks: Make sure that ERR is always initialized.
Branches
Unknown
Tags
Unknown
Tasks
T7129: Fix static reports by static analyser in gnugp