Home GnuPG
Diffusion GnuPG 055f8854d3f4

common: Extend function percent_data_escape.

Description

common: Extend function percent_data_escape.

* common/percent.c (percent_data_escape): Add new args prefix and
plus_escape.
* agent/command.c (cmd_put_secret): Adjust for changed function
* common/t-percent.c (test_percent_data_escape): Extend test for the
prefix.
(test_percent_data_escape_plus): new test for the plus escaping.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 24 2019, 10:02 AM
Parents
rGfec75a3868da: scd: Support PASSWD --clear for OpenPGP card.
Branches
Unknown
Tags
Unknown