summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorclaudio <>2017-01-24 00:00:12 +0000
committerclaudio <>2017-01-24 00:00:12 +0000
commit8fa4864f9215b6f6649977d5d9bab94d88e0c6ce (patch)
tree4294be39d633dc55fb04ae13178c5fd53dc167c0 /src
parentf05c52aa76a00f8868af9655f7175b76580f1fc3 (diff)
downloadopenbsd-8fa4864f9215b6f6649977d5d9bab94d88e0c6ce.tar.gz
openbsd-8fa4864f9215b6f6649977d5d9bab94d88e0c6ce.tar.bz2
openbsd-8fa4864f9215b6f6649977d5d9bab94d88e0c6ce.zip
tls_config_add_keypair_mem is the function to add additional keypairs and
ocsp_staple functions set the OCSP response they don't add them (which implies you can call them multiple times). Discussed with jsing@ beck@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libtls/tls_init.310
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libtls/tls_init.3 b/src/lib/libtls/tls_init.3
index 4e8c4a6627..f5b323a9ba 100644
--- a/src/lib/libtls/tls_init.3
+++ b/src/lib/libtls/tls_init.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_init.3,v 1.81 2016/11/11 14:02:24 jsing Exp $ 1.\" $OpenBSD: tls_init.3,v 1.82 2017/01/24 00:00:12 claudio Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: November 11 2016 $ 17.Dd $Mdocdate: January 24 2017 $
18.Dt TLS_INIT 3 18.Dt TLS_INIT 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -367,16 +367,16 @@ otherwise):
367adds an additional public certificate and private key from the specified files, 367adds an additional public certificate and private key from the specified files,
368used as an alternative certificate for Server Name Indication (server only). 368used as an alternative certificate for Server Name Indication (server only).
369.It 369.It
370.Fn tls_config_set_keypair_mem 370.Fn tls_config_add_keypair_mem
371adds an additional public certificate and private key from memory, 371adds an additional public certificate and private key from memory,
372used as an alternative certificate for Server Name Indication (server only). 372used as an alternative certificate for Server Name Indication (server only).
373.It 373.It
374.Fn tls_config_set_ocsp_staple_mem 374.Fn tls_config_set_ocsp_staple_mem
375adds a DER-encoded OCSP response to be stapled during the TLS handshake from 375sets a DER-encoded OCSP response to be stapled during the TLS handshake from
376memory. 376memory.
377.It 377.It
378.Fn tls_config_set_ocsp_staple_file 378.Fn tls_config_set_ocsp_staple_file
379adds a DER-encoded OCSP response to be stapled during the TLS handshake from 379sets a DER-encoded OCSP response to be stapled during the TLS handshake from
380the specified file. 380the specified file.
381.It 381.It
382.Fn tls_config_set_alpn 382.Fn tls_config_set_alpn