diff options
author | Steven Barth <steven@midlink.org> | 2009-05-28 08:48:14 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-05-28 08:48:14 +0000 |
commit | f4ccae2f4d66d5db6b1d8db349bfab21d73d0341 (patch) | |
tree | 970a3368ca83722a9a11faa9155f347c1a84316a /libs/nixio | |
parent | 658b3db2da59440ee8fd24cfee5d849a11055261 (diff) |
Disable checkkey for now: Something is wrong with dropbearkey
Diffstat (limited to 'libs/nixio')
-rwxr-xr-x | libs/nixio/axtls-root/usr/sbin/nixio-axtls-checkkey | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/nixio/axtls-root/usr/sbin/nixio-axtls-checkkey b/libs/nixio/axtls-root/usr/sbin/nixio-axtls-checkkey index 22bb1f8cc..981c66744 100755 --- a/libs/nixio/axtls-root/usr/sbin/nixio-axtls-checkkey +++ b/libs/nixio/axtls-root/usr/sbin/nixio-axtls-checkkey @@ -1,12 +1,14 @@ #!/usr/bin/lua +os.exit(0) --ToDo + local nixio = require "nixio" local fs = require "nixio.fs" local posix local defkey = nixio.meta_tls_context.tls_defaultkey local okey = "646e6b90d1ad02719cb1b221b7ce447a" -if (not defkey or io.open(defkey)) and -not (nixio.crypto.hash("md5"):update(fs.readfile(defkey)):final()) == okey then +if not defkey or (io.open(defkey) and +(nixio.crypto.hash("md5"):update(fs.readfile(defkey)):final()) ~= okey) then os.exit(0) end |