X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-gc-arcfour.c;h=e84903ad5b90a42d29785a1b48dc55319031d200;hb=692679fcbebba0095bae0f1f1a99bd1f0f5a0476;hp=7ddeb5849109f70d23bed9f45cfc29c5733cf8e8;hpb=c0fea97ccf33a4e6b6f9116216b1634663f29474;p=gnulib.git diff --git a/tests/test-gc-arcfour.c b/tests/test-gc-arcfour.c index 7ddeb5849..e84903ad5 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 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; }