Index: src/pkg/crypto/tls/tls.go |
=================================================================== |
--- a/src/pkg/crypto/tls/tls.go |
+++ b/src/pkg/crypto/tls/tls.go |
@@ -120,7 +120,7 @@ |
// LoadX509KeyPair reads and parses a public/private key pair from a pair of |
// files. The files must contain PEM encoded data. |
-func LoadX509KeyPair(certFile string, keyFile string) (cert Certificate, err error) { |
+func LoadX509KeyPair(certFile, keyFile string) (cert Certificate, err error) { |
certPEMBlock, err := ioutil.ReadFile(certFile) |
if err != nil { |
return |