Home GnuPG
Diffusion GnuPG a12c3a566e2e

agent: Fix for suggested Libgcrypt use.

Description

agent: Fix for suggested Libgcrypt use.

* agent/divert-scd.c (divert_pkdecrypt): Skip a flags parameter.

The libgcrypt docs say that a "flags" parameter should always be used
in the input of pkdecrypt. Thus we should allow that parameter also
when parsing an s-expression to figure out the algorithm for use with
scdaemon.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 22 2019, 2:09 PM
Parents
rGe140c6d4f581: gpgscm: Build well even if NDEBUG defined.
Branches
Unknown
Tags
Unknown