diff options
author | William Ahern <william@25thandclement.com> | 2016-10-29 17:00:32 -0700 |
---|---|---|
committer | William Ahern <william@25thandclement.com> | 2016-10-29 17:00:32 -0700 |
commit | f88b333f9eaa605a0f7a835874b5b562b294b1c3 (patch) | |
tree | df9637053aa14ea1f6b2392f94a4b084a929f44e /examples | |
parent | 38e4043d735f406c81173322f30e2a37d97101f5 (diff) | |
download | luaossl-f88b333f9eaa605a0f7a835874b5b562b294b1c3.tar.gz luaossl-f88b333f9eaa605a0f7a835874b5b562b294b1c3.tar.bz2 luaossl-f88b333f9eaa605a0f7a835874b5b562b294b1c3.zip |
not using key variable in vrfy.sig:genkeyrel-20161029
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/vrfy.sig | 1 |
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" | |||
13 | local function genkey(type) | 13 | local 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 |