Add ALPN interface

This commit is contained in:
Manuel Pégourié-Gonnard 2014-04-04 16:08:41 +02:00
parent 6c33a16dae
commit 7e250d4812
3 changed files with 59 additions and 0 deletions

View file

@ -860,6 +860,19 @@
*/
#define POLARSSL_SSL_PROTO_TLS1_2
/**
* \def POLARSSL_SSL_ALPN
*
* Enable support for Application Layer Protocol Negotiation.
* draft-ietf-tls-applayerprotoneg-05
*
* This is disabled by default in the 1.3.x line since it breaks ABI
* compatibility.
*
* Uncomment this macro to enable support for ALPN.
*/
#define POLARSSL_SSL_ALPN
/**
* \def POLARSSL_SSL_SESSION_TICKETS
*