Remove (*KnownHosts).LoadDefault function

This commit is contained in:
Adnan Maolood 2020-11-09 09:28:44 -05:00
parent 5332dc6280
commit 76dfe257f1
2 changed files with 2 additions and 52 deletions

View File

@ -47,7 +47,7 @@ type Client struct {
// the request of a server. // the request of a server.
// If CreateCertificate is nil or the returned error is not nil, // If CreateCertificate is nil or the returned error is not nil,
// the request will not be sent again and the response will be returned. // the request will not be sent again and the response will be returned.
CreateCertificate func(hostname, path string) (tls.Certificate, error) CreateCertificate func(scope, path string) (tls.Certificate, error)
// TrustCertificate is called to determine whether the client // TrustCertificate is called to determine whether the client
// should trust a certificate it has not seen before. // should trust a certificate it has not seen before.

52
tofu.go
View File

@ -7,7 +7,6 @@ import (
"fmt" "fmt"
"io" "io"
"os" "os"
"path/filepath"
"strconv" "strconv"
"strings" "strings"
) )