signing: Change API to create instances directly
This cleans up the verification code; it was weird how we'd get the list of known names and then try to create an instance from it (and throw an error if that failed, which couldn't happen).
This commit is contained in:
1 parent
f572206f15
commit
a9a81f3a29
6 files changed
+34
-57
No files matched your search
@@ -153,7 +153,7 @@ gboolean ostree_sign_load_pk (OstreeSign *self,
|
||||
|
||||
|
||||
_OSTREE_PUBLIC
|
||||
GStrv ostree_sign_list_names(void);
|
||||
GPtrArray * ostree_sign_get_all(void);
|
||||
|
||||
_OSTREE_PUBLIC
|
||||
OstreeSign * ostree_sign_get_by_name (const gchar *name, GError **error);
|
||||
|
||||
Reference in new issue
Block a user