diff options
Diffstat (limited to 'src/lib/libtls/man/tls_load_file.3')
| -rw-r--r-- | src/lib/libtls/man/tls_load_file.3 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libtls/man/tls_load_file.3 b/src/lib/libtls/man/tls_load_file.3 index 6c0a025955..c67be9159b 100644 --- a/src/lib/libtls/man/tls_load_file.3 +++ b/src/lib/libtls/man/tls_load_file.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: tls_load_file.3,v 1.4 2017/01/31 16:18:57 beck Exp $ | 1 | .\" $OpenBSD: tls_load_file.3,v 1.5 2017/01/31 20:53:50 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
| 4 | .\" Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> | 4 | .\" Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> |
| @@ -30,7 +30,7 @@ | |||
| 30 | .Nm tls_config_set_key_file , | 30 | .Nm tls_config_set_key_file , |
| 31 | .Nm tls_config_set_key_mem , | 31 | .Nm tls_config_set_key_mem , |
| 32 | .Nm tls_config_set_ocsp_staple_mem , | 32 | .Nm tls_config_set_ocsp_staple_mem , |
| 33 | .Nm tls_config_set_ocsp_staple_file | 33 | .Nm tls_config_set_ocsp_staple_file , |
| 34 | .Nm tls_config_set_keypair_file , | 34 | .Nm tls_config_set_keypair_file , |
| 35 | .Nm tls_config_set_keypair_mem , | 35 | .Nm tls_config_set_keypair_mem , |
| 36 | .Nm tls_config_set_keypair_ocsp_file , | 36 | .Nm tls_config_set_keypair_ocsp_file , |
| @@ -89,8 +89,8 @@ | |||
| 89 | .Fa "struct tls_config *config" | 89 | .Fa "struct tls_config *config" |
| 90 | .Fa "const uint8_t *key" | 90 | .Fa "const uint8_t *key" |
| 91 | .Fa "size_t len" | 91 | .Fa "size_t len" |
| 92 | .Ft int | ||
| 93 | .Fc | 92 | .Fc |
| 93 | .Ft int | ||
| 94 | .Fo tls_config_set_ocsp_staple_mem | 94 | .Fo tls_config_set_ocsp_staple_mem |
| 95 | .Fa "struct tls_config *config" | 95 | .Fa "struct tls_config *config" |
| 96 | .Fa "const uint8_t *staple" | 96 | .Fa "const uint8_t *staple" |
| @@ -224,7 +224,7 @@ directly sets the public certificate, and private key from memory. | |||
| 224 | .Pp | 224 | .Pp |
| 225 | .Fn tls_config_set_keypair_file | 225 | .Fn tls_config_set_keypair_file |
| 226 | sets the files from which the public certificate, private key, and DER encoded | 226 | sets the files from which the public certificate, private key, and DER encoded |
| 227 | ocsp staple will be read. | 227 | OCSP staple will be read. |
| 228 | .Pp | 228 | .Pp |
| 229 | .Fn tls_config_set_keypair_ocsp_mem | 229 | .Fn tls_config_set_keypair_ocsp_mem |
| 230 | directly sets the public certificate, private key, and DER encoded OCSP staple | 230 | directly sets the public certificate, private key, and DER encoded OCSP staple |
| @@ -238,7 +238,6 @@ used as an alternative certificate for Server Name Indication (server only). | |||
| 238 | adds an additional public certificate, and private key from memory, used as an | 238 | adds an additional public certificate, and private key from memory, used as an |
| 239 | alternative certificate for Server Name Indication (server only). | 239 | alternative certificate for Server Name Indication (server only). |
| 240 | .Pp | 240 | .Pp |
| 241 | .Pp | ||
| 242 | .Fn tls_config_add_keypair_ocsp_file | 241 | .Fn tls_config_add_keypair_ocsp_file |
| 243 | adds an additional public certificate, private key, and DER encoded OCSP staple | 242 | adds an additional public certificate, private key, and DER encoded OCSP staple |
| 244 | from the specified files, used as an alternative certificate for Server Name | 243 | from the specified files, used as an alternative certificate for Server Name |
