Home GnuPG
Diffusion GnuPG ebf9e3b824f8

wks: Make sure that ERR is always initialized.

Description

wks: Make sure that ERR is always initialized.

* tools/wks-util.c (install_key_from_spec_file): Initialize ERR in case
the loop is never run.

This is part of

(cherry picked from commit 021c27510b52f86a95ae70b5f4ed5d2c3886c3e8)

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

Details

Provenance
wernerAuthored on May 28 2024, 1:54 PM
Parents
rGbb57c808b2ad: scd:openpgp: Fix PIN pin2hash_if_kdf.
Branches
Unknown
Tags
Unknown
Tasks
T7129: Fix static reports by static analyser in gnugp