update path to SSL certificates
This commit is contained in:
parent
1350d5312b
commit
cc2a8409e1
1 changed files with 2 additions and 2 deletions
|
|
@ -42,8 +42,8 @@ when defined(ssl):
|
|||
|
||||
proc createServer(port: Port) {.async.} =
|
||||
let serverContext = newContext(verifyMode = CVerifyNone,
|
||||
certFile = "../testdata/mycert.pem",
|
||||
keyFile = "../testdata/mycert.pem")
|
||||
certFile = "tests/testdata/mycert.pem",
|
||||
keyFile = "tests/testdata/mycert.pem")
|
||||
var server = newAsyncSocket()
|
||||
serverContext.wrapSocket(server)
|
||||
server.setSockOpt(OptReuseAddr, true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue