X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-base64.c;h=67aca2c8a0c45856b67fed065c587d568c8293a2;hb=cd3bee968885a85671cad267e142aad74076b5e2;hp=2373be862fc3971674ef0e4da87827bb062e57a1;hpb=71f4edb09eed887b1063f0cdb5f1aa167e3e5072;p=gnulib.git diff --git a/tests/test-base64.c b/tests/test-base64.c index 2373be862..67aca2c8a 100755 --- a/tests/test-base64.c +++ b/tests/test-base64.c @@ -1,4 +1,4 @@ -/* Recode strings between character sets, using iconv. +/* Self tests for base64. Copyright (C) 2004 Free Software Foundation, Inc. Written by Simon Josefsson. @@ -16,18 +16,23 @@ with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "base64.h" +#ifdef HAVE_CONFIG_H +# include +#endif +#include #include +#include #include +#include "base64.h" + int main (int argc, char *argv[]) { const char *in = "abcdefghijklmnop"; const char *b64in = "YWJjZGVmZw=="; char out[255]; - char *p; size_t len; bool ok;