SHA256
1
0
forked from pool/openscap
Marcus Meissner 2017-11-14 15:02:28 +00:00 committed by Git OBS Bridge
parent 99499cd1d3
commit fd2df3e5a6

View File

@ -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;
+