diff options
author | Gabriel Ivascu <gabrielivascu@gnome.org> | 2017-09-18 18:22:09 +0300 |
---|---|---|
committer | Gabriel Ivascu <gabrielivascu@gnome.org> | 2017-10-03 18:29:53 +0200 |
commit | 57218b2a209d91229a6d7e03b2f32be878ac73c5 (patch) | |
tree | e7f66e64ba8c62484639f92f2b7d4a80db2a6a24 /lib/safe-browsing/ephy-gsb-utils.h | |
parent | bf848bd1f1e53146beaea99bb4434a8c9d770ed7 (diff) | |
download | epiphany-57218b2a209d91229a6d7e03b2f32be878ac73c5.tar.gz |
gsb-utils: Use GBytes for full hashes too
This allows better handling in g_hash_table_new_full() and
g_list_copy_deep() due to g_bytes_hash(), g_bytes_equal(),
g_bytes_ref(), g_bytes_unref().
Diffstat (limited to 'lib/safe-browsing/ephy-gsb-utils.h')
-rw-r--r-- | lib/safe-browsing/ephy-gsb-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/safe-browsing/ephy-gsb-utils.h b/lib/safe-browsing/ephy-gsb-utils.h index 3acb0182d..739b7772a 100644 --- a/lib/safe-browsing/ephy-gsb-utils.h +++ b/lib/safe-browsing/ephy-gsb-utils.h @@ -44,7 +44,7 @@ typedef struct { } EphyGSBHashPrefixLookup; typedef struct { - guint8 *hash; /* The 32 bytes full hash */ + GBytes *hash; /* The 32 bytes full hash */ char *threat_type; char *platform_type; char *threat_entry_type; |