aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-09-29 09:34:06 +0000
committerWerner Koch <[email protected]>2023-10-02 11:03:03 +0000
commit52b7a60cf9f3cd2e5900396b0e3e65cbd335bc23 (patch)
treee16cc2002401126fff356f8126aefee0726ba646 /dirmngr/http.c
parentdirmngr: Fix handling of the HTTP Content-Length (diff)
downloadgnupg-52b7a60cf9f3cd2e5900396b0e3e65cbd335bc23.tar.gz
gnupg-52b7a60cf9f3cd2e5900396b0e3e65cbd335bc23.zip
common: Add new function b64decode.
* common/b64dec.c (b64decode): New. * common/t-b64.c: Change license to LGPL. (oops): New macro. (hex2buffer): New. (test_b64decode): New. (main): Default to run the new test. * common/Makefile.am (module_maint_tests): Move t-b64 to ... (module_tests): here. -- Sometimes we have a short base64 encoded string we need todecode. This function makes it simpler. License change of the test module justified because I am the single author of the code.
Diffstat (limited to 'dirmngr/http.c')
0 files changed, 0 insertions, 0 deletions