From fd2df3e5a62261b0d7395079df0e5e2f2792b4da3fc2d5ac262f77c393189a2e Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 14 Nov 2017 15:02:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=191 --- openscap-productid-cvrf.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; +