commit | 96b88aea2a5601ff8199bdb4c8851bc62bcbcf82 | [log] [tgz] |
---|---|---|
author | Yauheni Kaliuta <yauheni.kaliuta@redhat.com> | Tue Apr 11 15:15:01 2017 +0300 |
committer | Lucas De Marchi <lucas.demarchi@intel.com> | Tue Apr 11 09:04:28 2017 -0700 |
tree | 33fc9c2118acdab3440080935030b77ee6ded1bd | |
parent | 30fb14f3c81ec5b0a5ef5b4b1c998a7de5420328 [diff] |
libkmod: modinfo: use own function for sig_key hex output Refactor the code a bit to make it easier to extend for signature output. kmod_module_get_info() creats a hex string for the sig_key data inplace. Separate it into own kmod_module_hex_to_string function and handle the branch in the new kmod_module_info_append_hex, keeping the same signature as the non-hex version. Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
This is a mirror only. Please see README file for more information.