diff options
author | Steven Barth <steven@midlink.org> | 2009-06-07 12:09:14 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-06-07 12:09:14 +0000 |
commit | b97eae4b69740e3a765ed201594b9e97d94f3f72 (patch) | |
tree | 2c9ae3de72577670a83e12a7a7fe250df521a714 | |
parent | e458fc8add1370e232d111d90632bc83b20ca80a (diff) |
better warnings
-rw-r--r-- | libs/lucid/luasrc/lucid/tcpserver.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/lucid/luasrc/lucid/tcpserver.lua b/libs/lucid/luasrc/lucid/tcpserver.lua index 584da2298..b1b95c1fb 100644 --- a/libs/lucid/luasrc/lucid/tcpserver.lua +++ b/libs/lucid/luasrc/lucid/tcpserver.lua @@ -197,7 +197,7 @@ function prepare_tls(tlskey) return nixio.syslog("err", "Unable to load PX5G Keymaster") end - nixio.syslog("info", "PX5G: Generating " .. bits .. "b private key") + nixio.syslog("warning", "PX5G: Generating private key") local rk = px5g.genkey(bits) local keyfile = nixio.open(key, "w", 600) if not rk or not keyfile or not keyfile:writeall(rk:asn1()) then @@ -205,7 +205,7 @@ function prepare_tls(tlskey) end keyfile:close() - nixio.syslog("info", "PX5G: Generating self-signed certificate") + nixio.syslog("warning", "PX5G: Generating self-signed certificate") if not fs.writefile(cert, rk:create_selfsigned(data, os.time(), os.time() + 3600 * 24 * 366 * 15)) then return nixio.syslog("err", "Unable to generate certificate") |