update path to SSL certificates

This commit is contained in:
cheatfate
2016-09-07 12:51:18 +03:00
parent 1350d5312b
commit cc2a8409e1

View File

@@ -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)