forked from pool/openscap
This commit is contained in:
parent
99499cd1d3
commit
fd2df3e5a6
@ -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;
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user