openssl: add ALPN support
authorFabian Frank <fabian@pagefault.de>
Mon, 3 Feb 2014 02:33:28 +0000 (18:33 -0800)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Feb 2014 22:46:06 +0000 (23:46 +0100)
commit8b6654224ba5f7ab358f4ebdb8270c3d92fd61df
tree466033a325b0533090a28fec65001e89a4f1e9b3
parentc35d05aa62cbeed14629769293e3c30ec59fc728
openssl: add ALPN support

Add ALPN support when using OpenSSL. This will offer ALPN and NPN to the
server, who can respond with either one or none of the two. OpenSSL >=
1.0.2 is required, which means as of today obtaining a snapshot from
ftp://ftp.openssl.org/snapshot/.

See:
http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg-04
https://github.com/openssl/openssl/blob/ba168244a14bbd056e502d7daa04cae4aabe9d0d/ssl/ssl_lib.c#L1787
configure.ac
lib/vtls/openssl.c