summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/53-csr-extensions.lua6
-rwxr-xr-xregress/82-bn_prepops-null-deref.lua2
2 files changed, 4 insertions, 4 deletions
diff --git a/regress/53-csr-extensions.lua b/regress/53-csr-extensions.lua
index 38346da..6b7d60c 100644
--- a/regress/53-csr-extensions.lua
+++ b/regress/53-csr-extensions.lua
@@ -131,9 +131,9 @@ do
131 checknames(csr:getSubjectAlt(), expected) 131 checknames(csr:getSubjectAlt(), expected)
132 -- check after a round-trip through PEM 132 -- check after a round-trip through PEM
133 checknames(x509_csr.new(tostring(csr)):getSubjectAlt(), expected) 133 checknames(x509_csr.new(tostring(csr)):getSubjectAlt(), expected)
134end 134end
135 135
136-- adding altnames where none existed 136-- adding altnames where none existed
137do 137do
138 local expected = { 138 local expected = {
139 name = { 139 name = {
@@ -155,7 +155,7 @@ do
155 csr:setSubjectAlt(gn) 155 csr:setSubjectAlt(gn)
156 csr:setPublicKey(key) 156 csr:setPublicKey(key)
157 csr:sign(key) 157 csr:sign(key)
158 158
159 checknames(csr:getSubject(), expected.name) 159 checknames(csr:getSubject(), expected.name)
160 checknames(csr:getSubjectAlt(), expected.altname) 160 checknames(csr:getSubjectAlt(), expected.altname)
161 161
diff --git a/regress/82-bn_prepops-null-deref.lua b/regress/82-bn_prepops-null-deref.lua
index 6a1d617..47757d2 100755
--- a/regress/82-bn_prepops-null-deref.lua
+++ b/regress/82-bn_prepops-null-deref.lua
@@ -14,7 +14,7 @@
14-- bn_prepops(L, &r, &a, NULL, 1); 14-- bn_prepops(L, &r, &a, NULL, 1);
15-- ... 15-- ...
16-- } 16-- }
17-- 17--
18-- Caught by clang static analyzer. This was introduced with a patch adding 18-- Caught by clang static analyzer. This was introduced with a patch adding
19-- the :sqr method. This should have been caught sooner as the :sqr method 19-- the :sqr method. This should have been caught sooner as the :sqr method
20-- couldn't have possibly ever worked--a missing or non-numeric second 20-- couldn't have possibly ever worked--a missing or non-numeric second