summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Ahern <william@25thandclement.com>2016-10-29 17:00:32 -0700
committerWilliam Ahern <william@25thandclement.com>2016-10-29 17:00:32 -0700
commitf88b333f9eaa605a0f7a835874b5b562b294b1c3 (patch)
treedf9637053aa14ea1f6b2392f94a4b084a929f44e
parent38e4043d735f406c81173322f30e2a37d97101f5 (diff)
downloadluaossl-rel-20161029.tar.gz
luaossl-rel-20161029.tar.bz2
luaossl-rel-20161029.zip
not using key variable in vrfy.sig:genkeyrel-20161029
-rwxr-xr-xexamples/vrfy.sig1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/vrfy.sig b/examples/vrfy.sig
index f6cc927..84bcfcc 100755
--- a/examples/vrfy.sig
+++ b/examples/vrfy.sig
@@ -13,7 +13,6 @@ local digest = require"openssl.digest"
13local function genkey(type) 13local function genkey(type)
14 type = string.upper(type or (not openssl.NO_EC and "EC") or "RSA") 14 type = string.upper(type or (not openssl.NO_EC and "EC") or "RSA")
15 15
16 local key
17 if type == "RSA" then 16 if type == "RSA" then
18 return pkey.new{ type = "RSA", bits = 1024 } 17 return pkey.new{ type = "RSA", bits = 1024 }
19 elseif type == "DSA" then 18 elseif type == "DSA" then