On Thu, Jun 19, 2014 at 2:04 AM, David Woodhouse <dwmw2 at infradead.org> wrote: > (If you can find a suitable base64 encode/decode function that I can use > too, that'd make me even happier. OpenSSL gives me one, but not GnuTLS > or libxml2 AFAICT.) GnuTLS depends on nettle, so if you're willing to add a build dependency on the nettle-devel headers for GnuTLS builds, you can use base64_encode_raw() from <nettle/base64.h>