Two copies of this map meant only the tests would ever work.
/**
* base64_maps_rfc4648 - pregenerated maps struct for rfc4648
*/
/**
* base64_maps_rfc4648 - pregenerated maps struct for rfc4648
*/
-static const base64_maps_t base64_maps_rfc4648 = {
+const base64_maps_t base64_maps_rfc4648 = {
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
"\xff\xff\xff\xff\xff" /* 0 */ \
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
"\xff\xff\xff\xff\xff" /* 0 */ \
/* the rfc4648 functions: */
/* the rfc4648 functions: */
-static const base64_maps_t base64_maps_rfc4648;
+extern const base64_maps_t base64_maps_rfc4648;
/**
* base64_encode - Encode a buffer into base64 according to rfc4648
/**
* base64_encode - Encode a buffer into base64 according to rfc4648