Skip to content

Commit fcf3c8d

Browse files
committed
Fix formatting and add missing comment
1 parent fcbcfb5 commit fcf3c8d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

base/cvss.c

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
* This file contains utility functions for handling CVSS v2, v3 and v4.
1111
* get_cvss_score_from_base_metrics calculates the CVSS base score from a CVSS
1212
* base vector.
13-
*
13+
*
1414
* CVSS v4.0:
15-
*
15+
*
1616
* See the CVSS v4 calculator reference implementation at
1717
* https://github.com/FIRSTdotorg/cvss-v4-calculator and the CVSS 4.0
1818
* specification document at
@@ -1298,8 +1298,8 @@ cvss4_maximal_scoring_differences (const char *macrovector,
12981298
? value - score_eq2_next_lower_macro
12991299
: -1.0;
13001300
*available_distance_eq3eq6 = score_eq3eq6_next_lower_macro != -1.0
1301-
? value - score_eq3eq6_next_lower_macro
1302-
: -1.0;
1301+
? value - score_eq3eq6_next_lower_macro
1302+
: -1.0;
13031303
*available_distance_eq4 = score_eq4_next_lower_macro != -1.0
13041304
? value - score_eq4_next_lower_macro
13051305
: -1.0;
@@ -1571,6 +1571,7 @@ cvss4_metric_level (cvss4_metric_t metric, char value)
15711571
/**
15721572
* @brief Calculate severity distance for a metric in two CVSS 4.0 vectors.
15731573
*
1574+
* @param[in] metric The metric to calculate severity distance for.
15741575
* @param[in] vec The vector to be scored in simplified form.
15751576
* @param[in] max_vec The max vector to subtract in simplified form.
15761577
*

0 commit comments

Comments
 (0)