]> git.ipfire.org Git - thirdparty/nettle.git/commit
Fix remaining pointer-signedness warnings for base64.
authorNiels Möller <nisse@lysator.liu.se>
Sun, 24 Sep 2017 11:33:46 +0000 (13:33 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 24 Sep 2017 11:33:46 +0000 (13:33 +0200)
commit1edcf5214ecdb2063114a2dc558ceecfe63a180a
treef96f71cf817e0cbdbdea078756b5ea3100ac6edd
parentcfd07ba9c54cc099a3e5da30376cf297f4151e31
Fix remaining pointer-signedness warnings for base64.

* sexp-transport-format.c (base64_encode_in_place): New helper
function.
(sexp_transport_vformat): Use it.

* testsuite/base64-test.c (test_fuzz_once): Update to use char
type where appropriate.
(test_main): Use helper functions base64_encode_in_place and
base64_decode_in_place (copied to this file).

* tools/pkcs1-conv.c (base64_decode_in_place): New helper
function.
(decode_base64): Use it.
ChangeLog
base64.h
sexp-transport-format.c
testsuite/base64-test.c
tools/pkcs1-conv.c