diff options
author | jsing <> | 2017-08-28 17:36:58 +0000 |
---|---|---|
committer | jsing <> | 2017-08-28 17:36:58 +0000 |
commit | 6946bfa953382f8050208e6198d3d6713b681d82 (patch) | |
tree | fd1e6e86b01342a6a9ff433e37ed36471fd5b785 /src/lib/libssl/man | |
parent | e790d179f0c122ea11b978a15855d1fc9ccc5033 (diff) | |
download | openbsd-6946bfa953382f8050208e6198d3d6713b681d82.tar.gz openbsd-6946bfa953382f8050208e6198d3d6713b681d82.tar.bz2 openbsd-6946bfa953382f8050208e6198d3d6713b681d82.zip |
Completely remove NPN remnants.
Based on a diff from doug@, similar diff from inoguchi@
Diffstat (limited to 'src/lib/libssl/man')
-rw-r--r-- | src/lib/libssl/man/SSL_CTX_set_alpn_select_cb.3 | 50 |
1 files changed, 3 insertions, 47 deletions
diff --git a/src/lib/libssl/man/SSL_CTX_set_alpn_select_cb.3 b/src/lib/libssl/man/SSL_CTX_set_alpn_select_cb.3 index 175689d79b..2c0905123b 100644 --- a/src/lib/libssl/man/SSL_CTX_set_alpn_select_cb.3 +++ b/src/lib/libssl/man/SSL_CTX_set_alpn_select_cb.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: SSL_CTX_set_alpn_select_cb.3,v 1.4 2017/08/21 08:31:19 schwarze Exp $ | 1 | .\" $OpenBSD: SSL_CTX_set_alpn_select_cb.3,v 1.5 2017/08/28 17:36:58 jsing Exp $ |
2 | .\" OpenSSL 87b81496 Apr 19 12:38:27 2017 -0400 | 2 | .\" OpenSSL 87b81496 Apr 19 12:38:27 2017 -0400 |
3 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 3 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 |
4 | .\" | 4 | .\" |
@@ -49,18 +49,15 @@ | |||
49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | .\" | 51 | .\" |
52 | .Dd $Mdocdate: August 21 2017 $ | 52 | .Dd $Mdocdate: August 28 2017 $ |
53 | .Dt SSL_CTX_SET_ALPN_SELECT_CB 3 | 53 | .Dt SSL_CTX_SET_ALPN_SELECT_CB 3 |
54 | .Os | 54 | .Os |
55 | .Sh NAME | 55 | .Sh NAME |
56 | .Nm SSL_CTX_set_alpn_protos , | 56 | .Nm SSL_CTX_set_alpn_protos , |
57 | .Nm SSL_set_alpn_protos , | 57 | .Nm SSL_set_alpn_protos , |
58 | .Nm SSL_CTX_set_alpn_select_cb , | 58 | .Nm SSL_CTX_set_alpn_select_cb , |
59 | .Nm SSL_CTX_set_next_proto_select_cb , | ||
60 | .Nm SSL_CTX_set_next_protos_advertised_cb , | ||
61 | .Nm SSL_select_next_proto , | 59 | .Nm SSL_select_next_proto , |
62 | .Nm SSL_get0_alpn_selected , | 60 | .Nm SSL_get0_alpn_selected |
63 | .Nm SSL_get0_next_proto_negotiated | ||
64 | .Nd handle application layer protocol negotiation (ALPN) | 61 | .Nd handle application layer protocol negotiation (ALPN) |
65 | .Sh SYNOPSIS | 62 | .Sh SYNOPSIS |
66 | .In openssl/ssl.h | 63 | .In openssl/ssl.h |
@@ -84,21 +81,6 @@ | |||
84 | unsigned int inlen, void *arg)" | 81 | unsigned int inlen, void *arg)" |
85 | .Fa "void *arg" | 82 | .Fa "void *arg" |
86 | .Fc | 83 | .Fc |
87 | .Ft void | ||
88 | .Fo SSL_CTX_set_next_proto_select_cb | ||
89 | .Fa "SSL_CTX *ctx" | ||
90 | .Fa "int (*cb)(SSL *ssl, unsigned char **out,\ | ||
91 | unsigned char *outlen, const unsigned char *in,\ | ||
92 | unsigned int inlen, void *arg)" | ||
93 | .Fa "void *arg" | ||
94 | .Fc | ||
95 | .Ft void | ||
96 | .Fo SSL_CTX_set_next_protos_advertised_cb | ||
97 | .Fa "SSL_CTX *ctx" | ||
98 | .Fa "int (*cb)(SSL *ssl, const unsigned char **out,\ | ||
99 | unsigned char *outlen, void *arg)" | ||
100 | .Fa "void *arg" | ||
101 | .Fc | ||
102 | .Ft int | 84 | .Ft int |
103 | .Fo SSL_select_next_proto | 85 | .Fo SSL_select_next_proto |
104 | .Fa "unsigned char **out" | 86 | .Fa "unsigned char **out" |
@@ -114,12 +96,6 @@ | |||
114 | .Fa "const unsigned char **data" | 96 | .Fa "const unsigned char **data" |
115 | .Fa "unsigned int *len" | 97 | .Fa "unsigned int *len" |
116 | .Fc | 98 | .Fc |
117 | .Ft void | ||
118 | .Fo SSL_get0_next_proto_negotiated | ||
119 | .Fa "const SSL *ssl" | ||
120 | .Fa "const unsigned char **data" | ||
121 | .Fa "unsigned int *len" | ||
122 | .Fc | ||
123 | .Sh DESCRIPTION | 99 | .Sh DESCRIPTION |
124 | .Fn SSL_CTX_set_alpn_protos | 100 | .Fn SSL_CTX_set_alpn_protos |
125 | and | 101 | and |
@@ -207,16 +183,6 @@ is returned in | |||
207 | .Fa out , | 183 | .Fa out , |
208 | .Fa outlen . | 184 | .Fa outlen . |
209 | .Pp | 185 | .Pp |
210 | .Fn SSL_CTX_set_next_proto_select_cb | ||
211 | is deprecated and has no effect. | ||
212 | It used to set a callback that was called when a client needed to | ||
213 | select a protocol from the server's provided list. | ||
214 | .Pp | ||
215 | .Fn SSL_CTX_set_next_protos_advertised_cb | ||
216 | is deprecated and has no effect. | ||
217 | It used to set a callback that was called when a TLS server needed | ||
218 | a list of supported protocols for Next Protocol Negotiation. | ||
219 | .Pp | ||
220 | .Fn SSL_get0_alpn_selected | 186 | .Fn SSL_get0_alpn_selected |
221 | returns a pointer to the selected protocol in | 187 | returns a pointer to the selected protocol in |
222 | .Fa data | 188 | .Fa data |
@@ -232,16 +198,6 @@ is set to 0 if no protocol has been selected. | |||
232 | .Fa data | 198 | .Fa data |
233 | must not be freed. | 199 | must not be freed. |
234 | .Pp | 200 | .Pp |
235 | .Fn SSL_get0_next_proto_negotiated | ||
236 | is deprecated and has no effect except that it always sets | ||
237 | .Pf * Fa data | ||
238 | to | ||
239 | .Dv NULL | ||
240 | and | ||
241 | .Pf * Fa len | ||
242 | to 0. | ||
243 | It used to return the client's requested protocol for this connection. | ||
244 | .Pp | ||
245 | The protocol-lists must be in wire-format, which is defined as a vector | 201 | The protocol-lists must be in wire-format, which is defined as a vector |
246 | of non-empty, 8-bit length-prefixed byte strings. | 202 | of non-empty, 8-bit length-prefixed byte strings. |
247 | The length-prefix byte is not included in the length. | 203 | The length-prefix byte is not included in the length. |