mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Remove code duplication
* The availability check of both the cert and key file is done in the "prepare" function.
This commit is contained in:
parent
e5f584092c
commit
fcafcbf13f
1 changed files with 0 additions and 5 deletions
|
|
@ -171,11 +171,6 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
if opts.ClientCert != nil && opts.ClientKey == nil || opts.ClientCert == nil && opts.ClientKey != nil {
|
||||
log.Println("Both client-key and client-cert options must be set for the authentication.")
|
||||
return
|
||||
}
|
||||
|
||||
p := newProcessor(opts)
|
||||
|
||||
report, err := p.run(buildReporters(), domains)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue