diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/53-csr-extensions.lua | 6 | ||||
-rwxr-xr-x | regress/82-bn_prepops-null-deref.lua | 2 |
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 checknames(csr:getSubjectAlt(), expected) -- check after a round-trip through PEM checknames(x509_csr.new(tostring(csr)):getSubjectAlt(), expected) -end +end --- adding altnames where none existed +-- adding altnames where none existed do local expected = { name = { @@ -155,7 +155,7 @@ do csr:setSubjectAlt(gn) csr:setPublicKey(key) csr:sign(key) - + checknames(csr:getSubject(), expected.name) checknames(csr:getSubjectAlt(), expected.altname) 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 @@ -- bn_prepops(L, &r, &a, NULL, 1); -- ... -- } --- +-- -- Caught by clang static analyzer. This was introduced with a patch adding -- the :sqr method. This should have been caught sooner as the :sqr method -- couldn't have possibly ever worked--a missing or non-numeric second |