This commit is contained in:
eson 2023-08-21 16:29:15 +08:00
parent 81566894f7
commit 8a4c41d518

View File

@ -128,7 +128,7 @@ func main() {
panic(err) panic(err)
} }
cert, err := tls.LoadX509KeyPair(string(pemdata), string(keydata)) cert, err := tls.X509KeyPair(pemdata, keydata)
if err != nil { if err != nil {
panic(err) panic(err)
} }