xmidt-org/themis

View on GitHub
xhttp/xhttpserver/tls.go

Summary

Maintainability
A
40 mins
Test Coverage

Function NewTlsConfig has 6 return statements (exceeds 4 allowed).
Open

func NewTlsConfig(t *Tls, extra ...PeerVerifier) (*tls.Config, error) {
    if t == nil {
        return nil, nil
    }

Severity: Major
Found in xhttp/xhttpserver/tls.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status