Home GnuPG
Diffusion GnuPG 26ebb15bec89

dirmngr: Fix out of scope use of a var in the keyserver LDAP code.

Description

dirmngr: Fix out of scope use of a var in the keyserver LDAP code.

* dirmngr/ks-engine-ldap.c (extract_attributes): Don't use a variabale
out of scope and cleanup the entire pgpKeySize block.

(cherry picked from commit 2b57a8159cdc3b212a4efc68787b40cafcd91ebe)

  • GnuPG-bug-id: T4229
  • Signed-off-by: Werner Koch <wk@gnupg.org>