aboutsummaryrefslogtreecommitdiff
path: root/feed/v2authentication_string.go
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-03-19 01:10:35 -0400
committerPaul Duncan <pabs@pablotron.org>2022-03-19 01:10:35 -0400
commit122ca3016cdc12ff61b2c2e2edd8df9cf2a17dc4 (patch)
tree735f0a807abce94ed51ff8094944c915a5c38dd4 /feed/v2authentication_string.go
parentcbaa1b4ddafd7eb6822b07d311d42c3cc03231ac (diff)
downloadcvez-122ca3016cdc12ff61b2c2e2edd8df9cf2a17dc4.tar.bz2
cvez-122ca3016cdc12ff61b2c2e2edd8df9cf2a17dc4.zip
feed: support multiple cvss v2 authentication value
Diffstat (limited to 'feed/v2authentication_string.go')
-rw-r--r--feed/v2authentication_string.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/feed/v2authentication_string.go b/feed/v2authentication_string.go
index 856c808..edf0759 100644
--- a/feed/v2authentication_string.go
+++ b/feed/v2authentication_string.go
@@ -10,11 +10,12 @@ func _() {
var x [1]struct{}
_ = x[V2AuthNone-0]
_ = x[V2AuthSingle-1]
+ _ = x[V2AuthMultiple-2]
}
-const _V2Authentication_name = "NONESINGLE"
+const _V2Authentication_name = "NONESINGLEMULTIPLE"
-var _V2Authentication_index = [...]uint8{0, 4, 10}
+var _V2Authentication_index = [...]uint8{0, 4, 10, 18}
func (i V2Authentication) String() string {
if i >= V2Authentication(len(_V2Authentication_index)-1) {