diff options
author | Dan Nicholson <dbn@endlessos.org> | 2023-02-07 14:48:15 -0700 |
---|---|---|
committer | Dan Nicholson <dbn@endlessos.org> | 2023-02-07 14:50:08 -0700 |
commit | b54f4864893e078dc496d9c479e8b2568d12659d (patch) | |
tree | 1f5ab8711c8716e10c66d7d0d00d1dc6b3914108 /src/libostree/ostree-sign-ed25519.c | |
parent | af505336c2e95820c98fc8e32bce665d5a03c795 (diff) | |
download | ostree-b54f4864893e078dc496d9c479e8b2568d12659d.tar.gz |
Strip trailing whitespace on all C files
My editor started following the configuration in .editorconfig and is
applying this rule to many files I'm editing. Let's just get this over
with and strip everything. This was done like so:
git ls-files | grep '\.[ch]$' | xargs sed -ri 's/\s+$//'
Diffstat (limited to 'src/libostree/ostree-sign-ed25519.c')
-rw-r--r-- | src/libostree/ostree-sign-ed25519.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libostree/ostree-sign-ed25519.c b/src/libostree/ostree-sign-ed25519.c index b7d87c6c..5839a0a1 100644 --- a/src/libostree/ostree-sign-ed25519.c +++ b/src/libostree/ostree-sign-ed25519.c @@ -504,7 +504,7 @@ _load_pk_from_stream (OstreeSign *self, if (line == NULL) return ret; - + /* Read the key itself */ /* base64 encoded key */ pk = g_variant_new_string (line); @@ -549,14 +549,14 @@ _load_pk_from_file (OstreeSign *self, key_stream_in = g_file_read (keyfile, NULL, error); if (key_stream_in == NULL) return FALSE; - + key_data_in = g_data_input_stream_new (G_INPUT_STREAM(key_stream_in)); g_assert (key_data_in != NULL); if (!_load_pk_from_stream (self, key_data_in, trusted, error)) { if (error == NULL || *error == NULL) - return glnx_throw (error, + return glnx_throw (error, "signature: ed25519: no valid keys in file '%s'", filename); else @@ -598,7 +598,7 @@ _ed25519_load_pk (OstreeSign *self, g_autofree gchar *base_dir = NULL; g_autoptr (GDir) dir = NULL; - base_name = g_build_filename ((gchar *)g_ptr_array_index (base_dirs, i), + base_name = g_build_filename ((gchar *)g_ptr_array_index (base_dirs, i), trusted ? "trusted.ed25519" : "revoked.ed25519", NULL); |