mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 23:22:56 +00:00
trivial: Ensure the plugin is loaded from the HSI attr variant
This commit is contained in:
parent
b33a162b4c
commit
164012b47b
@ -736,6 +736,10 @@ fwupd_security_attr_from_key_value(FwupdSecurityAttr *self, const gchar *key, GV
|
|||||||
fwupd_security_attr_set_name(self, g_variant_get_string(value, NULL));
|
fwupd_security_attr_set_name(self, g_variant_get_string(value, NULL));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (g_strcmp0(key, FWUPD_RESULT_KEY_PLUGIN) == 0) {
|
||||||
|
fwupd_security_attr_set_plugin(self, g_variant_get_string(value, NULL));
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (g_strcmp0(key, FWUPD_RESULT_KEY_URI) == 0) {
|
if (g_strcmp0(key, FWUPD_RESULT_KEY_URI) == 0) {
|
||||||
fwupd_security_attr_set_url(self, g_variant_get_string(value, NULL));
|
fwupd_security_attr_set_url(self, g_variant_get_string(value, NULL));
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user