diff options
author | Gabriel Ivascu <gabrielivascu@gnome.org> | 2017-09-16 17:35:33 +0300 |
---|---|---|
committer | Gabriel Ivascu <gabrielivascu@gnome.org> | 2017-10-03 18:29:53 +0200 |
commit | 4f852744cab3734555cd985808a8092617b439bd (patch) | |
tree | ae72a548190ff16a6f76aa8754de6cb5a2b68aff /tests | |
parent | d968d5f205ab7f631adf5a0f2f70e86e527fd0f4 (diff) | |
download | epiphany-4f852744cab3734555cd985808a8092617b439bd.tar.gz |
gsb-storage: Add function to lookup full hashes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ephy-gsb-utils-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ephy-gsb-utils-test.c b/tests/ephy-gsb-utils-test.c index ed5dfd737..8c5330d40 100644 --- a/tests/ephy-gsb-utils-test.c +++ b/tests/ephy-gsb-utils-test.c @@ -161,7 +161,7 @@ test_ephy_gsb_utils_compute_hashes (void) g_assert_cmpuint (g_list_length (hashes), ==, test.num_hashes); for (guint k = 0; k < test.num_hashes; k++, h = h->next) { - char *hash_hex = bytes_to_hex (h->data, 32); + char *hash_hex = bytes_to_hex (h->data, GSB_HASH_SIZE); g_assert_cmpstr (hash_hex, ==, test.hashes_hex[k]); g_free (hash_hex); } |