summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGabriel Ivascu <gabrielivascu@gnome.org>2017-09-16 17:35:33 +0300
committerGabriel Ivascu <gabrielivascu@gnome.org>2017-10-03 18:29:53 +0200
commit4f852744cab3734555cd985808a8092617b439bd (patch)
treeae72a548190ff16a6f76aa8754de6cb5a2b68aff /tests
parentd968d5f205ab7f631adf5a0f2f70e86e527fd0f4 (diff)
downloadepiphany-4f852744cab3734555cd985808a8092617b439bd.tar.gz
gsb-storage: Add function to lookup full hashes
Diffstat (limited to 'tests')
-rw-r--r--tests/ephy-gsb-utils-test.c2
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);
}