summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilliam <william+macosx@25thandclement.com>2015-06-02 18:32:19 -0700
committerwilliam <william+macosx@25thandclement.com>2015-06-02 18:32:19 -0700
commitfde13cd3149f1e5d040a5e248bea820492b7cece (patch)
treedeefe8922c6ae4775d2bb97c5d9c77ffaacc4321
parent958cbcd2d064daabea283d69aa6ba01e5358429a (diff)
downloadluaossl-fde13cd3149f1e5d040a5e248bea820492b7cece.tar.gz
luaossl-fde13cd3149f1e5d040a5e248bea820492b7cece.tar.bz2
luaossl-fde13cd3149f1e5d040a5e248bea820492b7cece.zip
document DTLS protocol identifiers for openssl.ssl.context.new routine
-rw-r--r--doc/luaossl.pdfbin284349 -> 284248 bytes
-rw-r--r--doc/luaossl.tex17
2 files changed, 10 insertions, 7 deletions
diff --git a/doc/luaossl.pdf b/doc/luaossl.pdf
index f493d99..e310cbe 100644
--- a/doc/luaossl.pdf
+++ b/doc/luaossl.pdf
Binary files differ
diff --git a/doc/luaossl.tex b/doc/luaossl.tex
index b52026d..c8917d7 100644
--- a/doc/luaossl.tex
+++ b/doc/luaossl.tex
@@ -694,22 +694,25 @@ Returns a new context object. $protocol$ is an optional string identifier select
694\begin{ctabular}{ c | p{14cm} } 694\begin{ctabular}{ c | p{14cm} }
695\multicolumn{2}{c}{$protocol$ identifiers}\\\hline\hline 695\multicolumn{2}{c}{$protocol$ identifiers}\\\hline\hline
696name & \href{https://www.openssl.org/docs/ssl/SSL_CTX_new.html}{description} \\\hline 696name & \href{https://www.openssl.org/docs/ssl/SSL_CTX_new.html}{description} \\\hline
697TLS & Supports TLS 1.0 and above. Internally uses \fn{SSLv23\_method} and disables SSLv2 and 697TLS & Supports TLS 1.0 \emph{and above}. Internally uses \fn{SSLv23\_method} and disables SSLv2 and
698SSLv3 using \texttt{SSL\_OP\_NO\_SSLv2} and \texttt{SSL\_OP\_NO\_SSLv3}.\\ 698SSLv3 using \texttt{SSL\_OP\_NO\_SSLv2} and \texttt{SSL\_OP\_NO\_SSLv3}.\\
699 699
700SSL & Supports SSL 3.0 and above. Internally uses \fn{SSLv23\_method} and disables SSLv2 using \texttt{SSL\_OP\_NO\_SSLv2}.\\ 700SSL & Supports SSL 3.0 \emph{and above}. Internally uses \fn{SSLv23\_method} and disables SSLv2 using \texttt{SSL\_OP\_NO\_SSLv2}.\\
701 701
702SSLv23 & A catchall for all versions of SSL/TLS supported by OpenSSL. Individual versions can be disabled using \method{context:setOptions}. Internally uses \fn{SSLv23\_method}.\\ 702SSLv23 & A catchall for all versions of SSL/TLS supported by OpenSSL. Individual versions can be disabled using \method{context:setOptions}. Internally uses \fn{SSLv23\_method}.\\
703 703
704TLSv1\_2 & Supports \emph{only} TLS 1.2; \emph{not} anything lower \emph{or} higher. Internally uses \fn{TLSv1\_2\_method}.\\ 704TLSv1\_2 & Supports \emph{only} TLS 1.2. Internally uses \fn{TLSv1\_2\_method}.\\
705 705
706TLSv1\_1 & Supports \emph{only} TLS 1.1; \emph{not} anything lower \emph{or} higher. Internally uses \fn{TLSv1\_1\_method}.\\ 706TLSv1\_1 & Supports \emph{only} TLS 1.1. Internally uses \fn{TLSv1\_1\_method}.\\
707 707
708TLSv1 & Supports \emph{only} TLS 1.0; \emph{not} anything lower \emph{or} higher. Internally uses \fn{TLSv1\_method}.\\ 708TLSv1 & Supports \emph{only} TLS 1.0. Internally uses \fn{TLSv1\_method}.\\
709 709
710SSLv3 & Supports \emph{only} SSL 3.0; \emph{not} anything lower \emph{or} higher. Internally uses \fn{SSLv3\_method}.\\ 710SSLv3 & Supports \emph{only} SSL 3.0. Internally uses \fn{SSLv3\_method}.\\
711 711
712SSLv2 & Supports \emph{only} SSL 2.0; \emph{not} anything lower \emph{or} higher. Internally uses \fn{SSLv2\_method}. 712SSLv2 & Supports \emph{only} SSL 2.0. Internally uses \fn{SSLv2\_method}. \\
713DTLS & Supports DTLS 1.0 \emph{and above}. Internally uses \fn{DTLS\_method}. \\
714DTLSv1 & Supports \emph{only} DTLS 1.0. Internally uses \fn{DTLSv1\_method}. \\
715DTLSv1\_2 & Supports \emph{only} DTLS 1.2. Internally uses \fn{DTLSv1\_2\_method}.
713\end{ctabular} 716\end{ctabular}
714 717
715 718