Home GnuPG

Add internal utility function for splitting a string into string views

Description

Add internal utility function for splitting a string into string views

* src/util.cpp, src/util.h (split_into_string_views): New.
* tests/CMakeLists.txt: Add macro _g10_add_test. Add new test.
* tests/t-utils.cpp: New.

The internal function is exported to make it available in the test.

Details

Provenance
ikloeckerAuthored on Wed, Oct 29, 2:10 PM
Parents
rGPGMEPP268f2feea0b0: Use gpgme_ssize_t everywhere
Branches
Unknown
Tags
Unknown
Tasks
T7883: Kleopatra: Unexpected comma separated keygrip for kyber certs