curl/lib/vtls
Daniel Stenberg f6767f5435 TLS: move the ALPN/NPN enable bits to the connection
Only protocols that actually have a protocol registered for ALPN and NPN
should try to get that negotiated in the TLS handshake. That is only
HTTPS (well, http/1.1 and http/2) right now. Previously ALPN and NPN
would wrongly be used in all handshakes if libcurl was built with it
enabled.

Reported-by: Jay Satiro

Fixes #789
2016-05-09 15:30:25 -04:00
..
axtls.c code: style updates 2016-04-03 22:38:36 +02:00
axtls.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
cyassl.c TLS: move the ALPN/NPN enable bits to the connection 2016-05-09 15:30:25 -04:00
cyassl.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
darwinssl.c darwinssl: removed commented out code 2016-04-19 08:53:31 +02:00
darwinssl.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
gskit.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
gskit.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
gtls.c TLS: move the ALPN/NPN enable bits to the connection 2016-05-09 15:30:25 -04:00
gtls.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
mbedtls.c TLS: move the ALPN/NPN enable bits to the connection 2016-05-09 15:30:25 -04:00
mbedtls.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
nss.c TLS: move the ALPN/NPN enable bits to the connection 2016-05-09 15:30:25 -04:00
nssg.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
openssl.c TLS: move the ALPN/NPN enable bits to the connection 2016-05-09 15:30:25 -04:00
openssl.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
polarssl.c TLS: move the ALPN/NPN enable bits to the connection 2016-05-09 15:30:25 -04:00
polarssl.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
polarssl_threadlock.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
polarssl_threadlock.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
schannel.c TLS: move the ALPN/NPN enable bits to the connection 2016-05-09 15:30:25 -04:00
schannel.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
vtls.c tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
vtls.h vtls.h: remove a space before semicolon 2016-04-19 08:53:31 +02:00