core: Map metadata from repository as trusted

ot_util_variant_map() assumed untrusted; add a boolean, and use it for
the repository internals.
This commit is contained in:
Colin Walters committed 2012-05-18 16:30:44 -04:00
1 parent cf53ed5cef
commit f95090095e
8 files changed
+70 -33

No files matched your search

+1
View File
@@ -59,6 +59,7 @@ gboolean ot_util_variant_save (GFile *dest,
gboolean ot_util_variant_map (GFile *src,
const GVariantType *type,
gboolean trusted,
GVariant **out_variant,
GError **error);