index e3ff3e35b74f58352a651d74b6d2a4e46011e580..5103d10df64f871c824261df323acba6bb8f1c3e 100644 (file)
--- a/lib/tests/test_base64.c
+++ b/lib/tests/test_base64.c
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
-* $Id$
*
*****************************************************************************/
#include "common.h"
-#include "base64.h"
+#include "gl/base64.h"
#include "tap.h"
int
plan_tests(1);
- b64_test = base64 (random, 1024);
+ base64_encode_alloc (random, 1024, &b64_test);
ok(strcmp(b64_known, b64_test) == 0,
"Test matching a base64 encoded 1024 bytes random string");