common: New function percent_data_escape.
authorWerner Koch <wk@gnupg.org>
Mon, 2 Jul 2018 18:24:10 +0000 (20:24 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 2 Jul 2018 18:25:30 +0000 (20:25 +0200)
commit58baf40af641f8cbf597e508a292e85ae94688f1
tree4220db56a47ede8a3f6853706014e1ca2f992209
parent3978df943dc7a4781a23382be2d3b4a96a04f71f
common: New function percent_data_escape.

* common/percent.c (percent_data_escape): New.
* common/t-percent.c (test_percent_data_escape): New.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/percent.c
common/t-percent.c
common/util.h