()
| 769 | } |
| 770 | |
| 771 | func tlsServerConfig() *tls.Config { |
| 772 | cert, err := tls.X509KeyPair(internal.LocalhostCert, internal.LocalhostKey) |
| 773 | if err != nil { |
| 774 | panic("failed to set cert") |
| 775 | } |
| 776 | return &tls.Config{Certificates: []tls.Certificate{cert}} |
| 777 | } |
| 778 | |
| 779 | func tlsServerConfig2() *tls.Config { |
| 780 | cert, err := tls.X509KeyPair(internal.LocalhostCert2, internal.LocalhostKey2) |
no outgoing calls
no test coverage detected