X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-gc-arcfour.c;h=28e61b0f188283235c6506ffea35d45d2a977480;hb=66a236773eb7d9706db907339c65791355083a3d;hp=7ddeb5849109f70d23bed9f45cfc29c5733cf8e8;hpb=c0fea97ccf33a4e6b6f9116216b1634663f29474;p=gnulib.git diff --git a/tests/test-gc-arcfour.c b/tests/test-gc-arcfour.c index 7ddeb5849..28e61b0f1 100644 --- a/tests/test-gc-arcfour.c +++ b/tests/test-gc-arcfour.c @@ -1,10 +1,10 @@ /* - * 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 * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) + * the Free Software Foundation; either version 3, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, @@ -60,10 +60,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; } @@ -83,10 +83,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; }