mirror of
https://github.com/fatedier/frp.git
synced 2026-01-11 22:23:12 +00:00
modify gitignore;fix a typo (#2237)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -30,6 +30,7 @@ release/
|
|||||||
test/bin/
|
test/bin/
|
||||||
vendor/
|
vendor/
|
||||||
dist/
|
dist/
|
||||||
|
.idea/
|
||||||
|
|
||||||
# Cache
|
# Cache
|
||||||
*.swp
|
*.swp
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ func newRandomTLSKeyPair() *tls.Certificate {
|
|||||||
return &tlsCert
|
return &tlsCert
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only supprt one ca file to add
|
// Only support one ca file to add
|
||||||
func newCertPool(caPath string) (*x509.CertPool, error) {
|
func newCertPool(caPath string) (*x509.CertPool, error) {
|
||||||
pool := x509.NewCertPool()
|
pool := x509.NewCertPool()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user