X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-arcfour.c;h=bc1171a2b34a756503e43dedf0c7bd3a1b1fbe51;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=a9b50f84e67b85d218c9c8501ddcc1f1a3ac00a1;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/tests/test-arcfour.c b/tests/test-arcfour.c index a9b50f84e..bc1171a2b 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-2014 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; }