aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar John Regan <john@jrjrtech.com> 2022-05-04 15:19:14 -0400
committerLibravatarLibravatar John Regan <john@jrjrtech.com> 2022-05-04 15:19:14 -0400
commit4ecb2fac605a41a5d607ceac3246df4fc2bc4ece (patch)
tree7a359ca594e17290836a009418b0bad95cad81f5
parent8eda64a509319b36a0d6fc8dd4a4037ee08d1f29 (diff)
downloadluaossl-4ecb2fac605a41a5d607ceac3246df4fc2bc4ece.tar.gz
luaossl-4ecb2fac605a41a5d607ceac3246df4fc2bc4ece.tar.bz2
luaossl-4ecb2fac605a41a5d607ceac3246df4fc2bc4ece.zip
regress: fix for new minimum key length in openssl 3.0.0
-rw-r--r--regress/regress.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/regress.lua b/regress/regress.lua
index 044e342..f1038f7 100644
--- a/regress/regress.lua
+++ b/regress/regress.lua
@@ -126,7 +126,7 @@ function regress.genkey(type, ca_key, ca_crt)
if type == "EC" then
key = regress.check(pkey.new{ type = "EC", curve = "prime192v1" })
else
- key = regress.check(pkey.new{ type = type, bits = 1024 })
+ key = regress.check(pkey.new{ type = type, bits = 2048 })
end
local dn = name.new()