X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-base64.c;h=cb6ba9ff02d019dca1e4198f4353b47fa65d70ae;hb=e7e8418d964ccdc0f1af799ee847d5b93a32b2e4;hp=2373be862fc3971674ef0e4da87827bb062e57a1;hpb=71f4edb09eed887b1063f0cdb5f1aa167e3e5072;p=gnulib.git diff --git a/tests/test-base64.c b/tests/test-base64.c index 2373be862..cb6ba9ff0 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. @@ -14,20 +14,25 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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;