fix
This commit is contained in:
parent
81566894f7
commit
8a4c41d518
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user