diff --git a/openscap-productid-cvrf.patch b/openscap-productid-cvrf.patch index 73a07e9..02a07ab 100644 --- a/openscap-productid-cvrf.patch +++ b/openscap-productid-cvrf.patch @@ -12,13 +12,15 @@ Index: openscap-1.2.16/utils/oscap-cvrf.c }; static struct oscap_module CVRF_EXPORT_MODULE = { -@@ -98,10 +99,18 @@ static int app_cvrf_evaluate(const struc +@@ -97,11 +98,19 @@ static int app_cvrf_evaluate(const struc + int result = OSCAP_OK; // Temporary hardcoded CPE until CPE name can be found without input by CVRF functions // themselves - const char *os_name = "Red Hat Enterprise Linux Desktop Supplementary (v. 6)"; +- const char *os_name = "Red Hat Enterprise Linux Desktop Supplementary (v. 6)"; - struct oscap_source *import_source = oscap_source_new_from_file(action->cvrf_action->f_cvrf); - struct oscap_source *export_source = cvrf_model_get_results_source(import_source, os_name); - if (export_source == NULL) ++ char *os_name = "Red Hat Enterprise Linux Desktop Supplementary (v. 6)"; + struct oscap_source *import_source; + struct oscap_source *export_source; +