Thomas Haller
0298d54078
systemd: expose unbase64mem() as nm_sd_utils_unbase64mem()
...
glib has an base64 implementation, but g_base64_decode() et al. gives
no way to detect invalid encodings. All invalid codes are silently
ignored. That is not suitable for strictly validating user input.
Instead of reimplementing of copy-pasting the code from somewhere,
reuse systemd's unbase64mem().
But don't use "hexdecoct.h" directly. Instead, add a single accessor
function to our "nm-sd-utils-shared.h" gateway. We want to be careful
about which bits from systemd we use, because otherwise re-importing
systemd code becomes fragile as you don't know which relevant parts
changed.
2019-01-02 17:08:41 +01:00
..
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:08:41 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00
2019-01-02 17:07:13 +01:00