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:
Colin Walters committed 2020-05-10 14:18:55 +00:00
1 parent f572206f15
commit a9a81f3a29
6 files changed
+34 -57

No files matched your search

+1 -1
View File
@@ -709,7 +709,7 @@ ostree_kernel_args_to_string
<SECTION>
<FILE>ostree-sign</FILE>
OstreeSign
ostree_sign_list_names
ostree_sign_get_all
ostree_sign_commit
ostree_sign_commit_verify
ostree_sign_data