summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-03-13 09:26:25 +0100
committerPeter Jones <pjones@redhat.com>2018-03-13 15:40:44 -0400
commit6aa5a62515d62139a2d3b34626fac8910e864a3d (patch)
treeec5bf4e69ee8b607ace7ae69ea46434d66d69edc /Cryptlib/OpenSSL
parent7faf9e86c35edd8dc1fe320d268ad34b7c80d495 (diff)
downloadefi-boot-shim-6aa5a62515d62139a2d3b34626fac8910e864a3d.tar.gz
efi-boot-shim-6aa5a62515d62139a2d3b34626fac8910e864a3d.zip
MokManager: stop using StrnCat
StrnCat is not available in gnu-efi-3.0.5 (I did not check if it does actually exists in 3.0.6). Moreover using strcat on a buffer where we've just done: "buf[0] = '\0'" is a bit silly, we might as well drop the 0 termination and just use strcpy. It seems there also is no StrnCpy in gnu-efi-3.0.5, but we are passing in a pointer to the end of file_name minus 4, so strcpy will consume only 4 bytes anyways and there is no need for the "n". Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'Cryptlib/OpenSSL')
0 files changed, 0 insertions, 0 deletions