mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
swid_generator software-id does not generate empty lines any more
This commit is contained in:
parent
975472e42f
commit
14007fd1d9
@ -156,11 +156,6 @@ static status_t generate_tags(private_swid_inventory_t *this, char *generator,
|
||||
unique_sw_id = chunk_create(separator, len - (separator - line));
|
||||
tag_id = swid_tag_id_create(tag_creator, unique_sw_id, tag_file_path);
|
||||
this->list->insert_last(this->list, tag_id);
|
||||
|
||||
if (fgets(line, sizeof(line), file) <= 0)
|
||||
{
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user