Searched defs:b64 (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-util.c544 char *b64; local
546 assert_se(base64mem("", strlen(""), &b64) == 0);
547 assert_se(streq(b64, ""));
548 free(b64);
550 assert_se(base64mem("f", strlen("f"), &b64) == 4);
551 assert_se(streq(b64, "Zg=="));
552 free(b64);
554 assert_se(base64mem("fo", strlen("fo"), &b64) == 4);
555 assert_se(streq(b64, "Zm8="));
556 free(b64);
[all...]

Completed in 14 milliseconds