From 62841a2350f76a5207376d581acec319196447d7 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Wed, 21 Sep 2016 10:59:15 -0400 Subject: [PATCH] Dcoument -alpn flag Reviewed-by: Richard Levitte (cherry picked from commit 776e15f9393a9e3083bec60a8da376ce2fe1e97e) --- doc/apps/s_client.pod | 9 +++++++-- doc/apps/s_server.pod | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/doc/apps/s_client.pod b/doc/apps/s_client.pod index 618df9659d..29675dd213 100644 --- a/doc/apps/s_client.pod +++ b/doc/apps/s_client.pod @@ -53,6 +53,7 @@ B B [B<-rand file(s)>] [B<-serverinfo types>] [B<-status>] +[B<-alpn protocols>] [B<-nextprotoneg protocols>] =head1 DESCRIPTION @@ -277,9 +278,13 @@ file. sends a certificate status request to the server (OCSP stapling). The server response (if any) is printed out. -=item B<-nextprotoneg protocols> +=item B<-alpn protocols>, B<-nextprotoneg protocols> -enable Next Protocol Negotiation TLS extension and provide a list of +these flags enable the +Enable the Application-Layer Protocol Negotiation or Next Protocol +Negotiation extension, respectively. ALPN is the IETF standard and +replaces NPN. +The B list is a comma-separated protocol names that the client should advertise support for. The list should contain most wanted protocols first. Protocol names are printable ASCII strings, for example "http/1.1" or diff --git a/doc/apps/s_server.pod b/doc/apps/s_server.pod index 6f4acb7006..fa17488d91 100644 --- a/doc/apps/s_server.pod +++ b/doc/apps/s_server.pod @@ -62,6 +62,7 @@ B B [B<-status_verbose>] [B<-status_timeout nsec>] [B<-status_url url>] +[B<-alpn protocols>] [B<-nextprotoneg protocols>] =head1 DESCRIPTION @@ -327,9 +328,13 @@ sets a fallback responder URL to use if no responder URL is present in the server certificate. Without this option an error is returned if the server certificate does not contain a responder address. -=item B<-nextprotoneg protocols> +=item B<-alpn protocols>, B<-nextprotoneg protocols> -enable Next Protocol Negotiation TLS extension and provide a +these flags enable the +Enable the Application-Layer Protocol Negotiation or Next Protocol +Negotiation extension, respectively. ALPN is the IETF standard and +replaces NPN. +The B list is a comma-separated list of supported protocol names. The list should contain most wanted protocols first. Protocol names are printable ASCII strings, for example "http/1.1" or -- 2.25.1