It was in the context of a gtk application, so I used g_base46_encode() as described here: ( http://developer.gnome.org/glib/2.28/glib-Base64-Encoding.html )
On Sat, 26 May 2012 23:24:04 +0200
fakessh <serge@smtp.fakessh.eu> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bonjour les news
j ecris un petit client smtp et je suis confronter à encoder mes
donnees en base64
j utilise les fonctions standard openssl
ma fonction
https://github.com/fakessh/openprojectssl/blob/master/smtp_openssl.c
char *base64(char *input, int length)
{
BIO *bmem, *b64;
BUF_MEM *bptr;
It was in the context of a gtk application, so I used g_base46_encode()
as described here: ( http://developer.gnome.org/glib/2.28/glib-Base64-Encoding.html )
It was in the context of a gtk application, so I used g_base46_encode() as described here: ( http://developer.gnome.org/glib/2.28/glib-Base64-Encoding.html )