diff options
| author | daurnimator <quae@daurnimator.com> | 2017-04-03 17:09:16 +1000 |
|---|---|---|
| committer | daurnimator <quae@daurnimator.com> | 2017-04-03 17:09:16 +1000 |
| commit | edd8e804be78b3748fdd21b2cdd187b5def56612 (patch) | |
| tree | 89a1aad878424dc3600cb3f6f4cac3691c340bbc | |
| parent | 182dfba3b333c57eccafd7323b47429bdbd77e6d (diff) | |
| download | luaossl-edd8e804be78b3748fdd21b2cdd187b5def56612.tar.gz luaossl-edd8e804be78b3748fdd21b2cdd187b5def56612.tar.bz2 luaossl-edd8e804be78b3748fdd21b2cdd187b5def56612.zip | |
Remove trailing whitespace
| -rw-r--r-- | doc/luaossl.tex | 8 | ||||
| -rw-r--r-- | regress/53-csr-extensions.lua | 6 | ||||
| -rwxr-xr-x | regress/82-bn_prepops-null-deref.lua | 2 | ||||
| -rw-r--r-- | src/compat52.h | 2 |
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. | |||
| 545 | 545 | ||
| 546 | \subsubsection[\fn{x509:addExtension}]{\fn{x509:addExtension($ext$)}} | 546 | \subsubsection[\fn{x509:addExtension}]{\fn{x509:addExtension($ext$)}} |
| 547 | 547 | ||
| 548 | Adds a copy of the \module{x509.extension} object to the certificate. | 548 | Adds a copy of the \module{x509.extension} object to the certificate. |
| 549 | 549 | ||
| 550 | \subsubsection[\fn{x509:getExtension}]{\fn{x509:getExtension($key$)}} | 550 | \subsubsection[\fn{x509:getExtension}]{\fn{x509:getExtension($key$)}} |
| 551 | 551 | ||
| @@ -695,7 +695,7 @@ Add the certificate identified by $serial$ to the revocation list. $serial$ shou | |||
| 695 | 695 | ||
| 696 | \subsubsection[\fn{crl:addExtension}]{\fn{crl:addExtension($ext$)}} | 696 | \subsubsection[\fn{crl:addExtension}]{\fn{crl:addExtension($ext$)}} |
| 697 | 697 | ||
| 698 | Adds a copy of the \module{x509.extension} object to the revocation list. | 698 | Adds a copy of the \module{x509.extension} object to the revocation list. |
| 699 | 699 | ||
| 700 | \subsubsection[\fn{crl:getExtension}]{\fn{crl:getExtension($key$)}} | 700 | \subsubsection[\fn{crl:getExtension}]{\fn{crl:getExtension($key$)}} |
| 701 | 701 | ||
| @@ -810,7 +810,7 @@ Returns a new context object. $protocol$ is an optional string identifier select | |||
| 810 | \begin{ctabular}{ c | p{14cm} } | 810 | \begin{ctabular}{ c | p{14cm} } |
| 811 | \multicolumn{2}{c}{$protocol$ identifiers}\\\hline\hline | 811 | \multicolumn{2}{c}{$protocol$ identifiers}\\\hline\hline |
| 812 | name & \href{https://www.openssl.org/docs/ssl/SSL_CTX_new.html}{description} \\\hline | 812 | name & \href{https://www.openssl.org/docs/ssl/SSL_CTX_new.html}{description} \\\hline |
| 813 | TLS & Supports TLS 1.0 \emph{and above}. Internally uses \fn{SSLv23\_method} and disables SSLv2 and | 813 | TLS & Supports TLS 1.0 \emph{and above}. Internally uses \fn{SSLv23\_method} and disables SSLv2 and |
| 814 | SSLv3 using \texttt{SSL\_OP\_NO\_SSLv2} and \texttt{SSL\_OP\_NO\_SSLv3}.\\ | 814 | SSLv3 using \texttt{SSL\_OP\_NO\_SSLv2} and \texttt{SSL\_OP\_NO\_SSLv3}.\\ |
| 815 | 815 | ||
| 816 | SSL & Supports SSL 3.0 \emph{and above}. Internally uses \fn{SSLv23\_method} and disables SSLv2 using \texttt{SSL\_OP\_NO\_SSLv2}.\\ | 816 | 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 | |||
| 962 | 962 | ||
| 963 | \subsubsection[\fn{ssl:getCipherInfo}]{\fn{ssl:getCipherInfo()}} | 963 | \subsubsection[\fn{ssl:getCipherInfo}]{\fn{ssl:getCipherInfo()}} |
| 964 | 964 | ||
| 965 | Returns a table of information on the current cipher. | 965 | Returns a table of information on the current cipher. |
| 966 | 966 | ||
| 967 | \begin{tabular}{ c | l } | 967 | \begin{tabular}{ c | l } |
| 968 | field & description\\\hline | 968 | 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 | |||
| 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) |
| 134 | end | 134 | end |
| 135 | 135 | ||
| 136 | -- adding altnames where none existed | 136 | -- adding altnames where none existed |
| 137 | do | 137 | do |
| 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 |
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 | |||
| 94 | lua_setfield(L, -2, modname); | 94 | lua_setfield(L, -2, modname); |
| 95 | 95 | ||
| 96 | lua_pop(L, 2); | 96 | lua_pop(L, 2); |
| 97 | 97 | ||
| 98 | if (glb) { | 98 | if (glb) { |
| 99 | lua_pushvalue(L, -1); | 99 | lua_pushvalue(L, -1); |
| 100 | lua_setglobal(L, modname); | 100 | lua_setglobal(L, modname); |
