Annotations: Allow ciphers with underscores. (#13140)
Co-authored-by: Steven Goodstein <sgoodstein@medallia.com>
This commit is contained in:
parent
2c7857e63f
commit
d7c00069fe
2 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ const (
|
|||
|
||||
// Should cover something like "ALL:!aNULL:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP"
|
||||
// (?:@STRENGTH) is included twice so it can appear before or after @SECLEVEL=n
|
||||
var regexValidSSLCipher = regexp.MustCompile(`^(?:(?:[A-Za-z0-9!:+\-])*(?:@STRENGTH)*(?:@SECLEVEL=[0-5])*(?:@STRENGTH)*)*$`)
|
||||
var regexValidSSLCipher = regexp.MustCompile(`^(?:(?:[A-Za-z0-9!:+\-_])*(?:@STRENGTH)*(?:@SECLEVEL=[0-5])*(?:@STRENGTH)*)*$`)
|
||||
|
||||
var sslCipherAnnotations = parser.Annotation{
|
||||
Group: "backend",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue