X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-arcfour.c;h=c7dbe18aeabdb484936d781aec964e35f2fabab1;hb=e916d00297510297b63af2ea9790c4f6c0ac0105;hp=a9b50f84e67b85d218c9c8501ddcc1f1a3ac00a1;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/tests/test-arcfour.c b/tests/test-arcfour.c index a9b50f84e..c7dbe18ae 100644 --- a/tests/test-arcfour.c +++ b/tests/test-arcfour.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005 Free Software Foundation + * Copyright (C) 2005, 2010-2011 Free Software Foundation, Inc. * Written by Simon Josefsson * * This program is free software: you can redistribute it and/or modify @@ -39,10 +39,10 @@ main (int argc, char *argv[]) size_t i; printf ("expected:\n"); for (i = 0; i < 5; i++) - printf ("%02x ", scratch[i] & 0xFF); + printf ("%02x ", scratch[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 5; i++) - printf ("%02x ", ciphertext_1[i] & 0xFF); + printf ("%02x ", ciphertext_1[i] & 0xFF); printf ("\n"); return 1; } @@ -56,10 +56,10 @@ main (int argc, char *argv[]) size_t i; printf ("expected:\n"); for (i = 0; i < 5; i++) - printf ("%02x ", plaintext_1[i] & 0xFF); + printf ("%02x ", plaintext_1[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 5; i++) - printf ("%02x ", scratch[i] & 0xFF); + printf ("%02x ", scratch[i] & 0xFF); printf ("\n"); return 1; }