Sample code exercising OpenLDAP's base64 implementation.
You'll need to:
 - Obtain the OpenLDAP source
 - Compile it
 - Customize the OPENLDAP variable in the Makefile
 - Run 'make'

We can now compare our base64 implementation with others:

$ ./base64_openldap "foobar
"
Zm9vYmFyCg==

$ openssl enc -base64 <<< "foobar"
Zm9vYmFyCg==
