From 1898524c4bd9b91b784ce9e466be8a7a15287a6b Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 8 Jul 2023 16:04:07 -0400 Subject: [PATCH] fixup! Factor out a libotcore --- src/switchroot/ostree-prepare-root.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switchroot/ostree-prepare-root.c b/src/switchroot/ostree-prepare-root.c index 6b373cc918..5a4de5fe5d 100644 --- a/src/switchroot/ostree-prepare-root.c +++ b/src/switchroot/ostree-prepare-root.c @@ -219,11 +219,11 @@ load_commit_for_deploy (const char *root_mountpoint, const char *deploy_path, GV static gboolean validate_signature (GBytes *data, GVariant *signatures, const guchar *pubkey, size_t pubkey_size) { - g_autoptr(GBytes) pubkey_buf = g_bytes_new_static (pubkey, pubkey_size); + g_autoptr (GBytes) pubkey_buf = g_bytes_new_static (pubkey, pubkey_size); for (gsize i = 0; i < g_variant_n_children (signatures); i++) { - g_autoptr(GError) local_error = NULL; + g_autoptr (GError) local_error = NULL; g_autoptr (GVariant) child = g_variant_get_child_value (signatures, i); g_autoptr (GBytes) signature = g_variant_get_data_as_bytes (child); bool valid = false;