aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-04-03 17:09:16 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-04-03 17:09:16 +1000
commitedd8e804be78b3748fdd21b2cdd187b5def56612 (patch)
tree89a1aad878424dc3600cb3f6f4cac3691c340bbc
parent182dfba3b333c57eccafd7323b47429bdbd77e6d (diff)
downloadluaossl-edd8e804be78b3748fdd21b2cdd187b5def56612.tar.gz
luaossl-edd8e804be78b3748fdd21b2cdd187b5def56612.tar.bz2
luaossl-edd8e804be78b3748fdd21b2cdd187b5def56612.zip
Remove trailing whitespace
-rw-r--r--doc/luaossl.tex8
-rw-r--r--regress/53-csr-extensions.lua6
-rwxr-xr-xregress/82-bn_prepops-null-deref.lua2
-rw-r--r--src/compat52.h2
4 files changed, 9 insertions, 9 deletions
diff --git a/doc/luaossl.tex b/doc/luaossl.tex
index 0b1b79b..48faabe 100644
--- a/doc/luaossl.tex
+++ b/doc/luaossl.tex
@@ -545,7 +545,7 @@ Sets the basic constraints critical flag.
\subsubsection[\fn{x509:addExtension}]{\fn{x509:addExtension($ext$)}}
-Adds a copy of the \module{x509.extension} object to the certificate.
+Adds a copy of the \module{x509.extension} object to the certificate.
\subsubsection[\fn{x509:getExtension}]{\fn{x509:getExtension($key$)}}
@@ -695,7 +695,7 @@ Add the certificate identified by $serial$ to the revocation list. $serial$ shou
\subsubsection[\fn{crl:addExtension}]{\fn{crl:addExtension($ext$)}}
-Adds a copy of the \module{x509.extension} object to the revocation list.
+Adds a copy of the \module{x509.extension} object to the revocation list.
\subsubsection[\fn{crl:getExtension}]{\fn{crl:getExtension($key$)}}
@@ -810,7 +810,7 @@ Returns a new context object. $protocol$ is an optional string identifier select
\begin{ctabular}{ c | p{14cm} }
\multicolumn{2}{c}{$protocol$ identifiers}\\\hline\hline
name & \href{https://www.openssl.org/docs/ssl/SSL_CTX_new.html}{description} \\\hline
-TLS & Supports TLS 1.0 \emph{and above}. Internally uses \fn{SSLv23\_method} and disables SSLv2 and
+TLS & Supports TLS 1.0 \emph{and above}. Internally uses \fn{SSLv23\_method} and disables SSLv2 and
SSLv3 using \texttt{SSL\_OP\_NO\_SSLv2} and \texttt{SSL\_OP\_NO\_SSLv3}.\\
SSL & Supports SSL 3.0 \emph{and above}. Internally uses \fn{SSLv23\_method} and disables SSLv2 using \texttt{SSL\_OP\_NO\_SSLv2}.\\
@@ -962,7 +962,7 @@ Similar to :getPeerCertifiate, but returns the entire chain sent by the peer as
\subsubsection[\fn{ssl:getCipherInfo}]{\fn{ssl:getCipherInfo()}}
-Returns a table of information on the current cipher.
+Returns a table of information on the current cipher.
\begin{tabular}{ c | l }
field & description\\\hline
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
diff --git a/src/compat52.h b/src/compat52.h
index 22541f7..163aecb 100644
--- a/src/compat52.h
+++ b/src/compat52.h
@@ -94,7 +94,7 @@ static void luaL_requiref(lua_State *L, const char *modname, lua_CFunction openf
lua_setfield(L, -2, modname);
lua_pop(L, 2);
-
+
if (glb) {
lua_pushvalue(L, -1);
lua_setglobal(L, modname);