Home GnuPG
Diffusion GnuPG 449d2fbcde63

common: New function map_static_strings

Description

common: New function map_static_strings

* common/mapstrings.c (struct intmapping_s): New.
(map_static_strings): New.
* common/stringhelp.c (do_strconcat): Rename to ...
(vstrconcat): this and make global.
* common/t-mapstrings.c (test_map_static_strings): New test.

Details

Provenance
wernerAuthored on Mar 18 2022, 1:47 PM
Parents
rG8631d4cfe251: gpg: Allow decryption of symencr even for non-compliant cipher.
Branches
Unknown
Tags
Unknown