Home GnuPG
Diffusion GnuPG 0a95b153811f

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.

(cherry picked from commit a12c3a566e2e4b10bc02976a2819070877ee895c)

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

Details

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