Skip to content
  • Christian Kellner's avatar
    device: empty/missing sysfs 'key' is not an error · 56131ae6
    Christian Kellner authored
    When loading a key from sysfs via bolt_device_get_key_from_sysfs
    a missing key sysfs file or an empty sysfs key file is not error.
    Change the function signature to return an gboolean indicating an
    error, otherwise the return value (key ==) NULL would be ambiguous,
    i.e. could also mean an error has occurred.
    56131ae6