aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua/unit/rsa.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/lua/unit/rsa.lua')
-rw-r--r--test/lua/unit/rsa.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lua/unit/rsa.lua b/test/lua/unit/rsa.lua
index 962077242..900c8a53f 100644
--- a/test/lua/unit/rsa.lua
+++ b/test/lua/unit/rsa.lua
@@ -12,7 +12,7 @@ context("RSA signature verification test", function()
local signature = 'test.sig'
local test_dir = string.gsub(debug.getinfo(1).source, "^@(.+/)[^/]+$", "%1")
local rsa_key, rsa_sig
-
+
test("RSA sign", function()
-- Signing test
rsa_key = rsa_privkey.load_file(string.format('%s/%s', test_dir, privkey))
@@ -25,7 +25,7 @@ context("RSA signature verification test", function()
assert_not_nil(sig)
sig:save(string.format('%s/%s', test_dir, signature), true)
end)
-
+
test("RSA verify", function()
-- Verifying test
local h = hash.create_specific('sha256')