~kvalo/wpasupplicant/bug-638303

« back to all changes in this revision

Viewing changes to wpa_supplicant/tests/test_sha256.c

  • Committer: Bazaar Package Importer
  • Author(s): Kel Modderman
  • Date: 2009-05-16 03:47:08 UTC
  • mfrom: (4.1.5 karmic)
  • Revision ID: james.westby@ubuntu.com-20090516034708-pkqje2dgvhj6tb2i
Tags: 0.6.9-3
Drop debian/patches/12_syslog_supplement.patch. It adds code which
attempts to prettify output but doesn't handle large output well.
(Closes: #528639)

Show diffs side-by-side

added added

removed removed

Lines of Context:
323
323
        }
324
324
 
325
325
        printf("Test IEEE 802.11r KDF\n");
326
 
        sha256_prf("abc", 3, "KDF test", "data", 4, hash, sizeof(hash));
 
326
        sha256_prf((u8 *) "abc", 3, "KDF test", (u8 *) "data", 4,
 
327
                   hash, sizeof(hash));
327
328
        /* TODO: add proper test case for this */
328
329
 
329
330
        return errors;