diff options
author | Fabian Frank <fabian@pagefault.de> | 2014-02-02 18:33:28 -0800 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-02-03 23:46:06 +0100 |
commit | 8b6654224ba5f7ab358f4ebdb8270c3d92fd61df (patch) | |
tree | 466033a325b0533090a28fec65001e89a4f1e9b3 /configure.ac | |
parent | c35d05aa62cbeed14629769293e3c30ec59fc728 (diff) | |
download | curl-8b6654224ba5f7ab358f4ebdb8270c3d92fd61df.tar.gz |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 2bc86083f..dd309345d 100644 --- a/configure.ac +++ b/configure.ac @@ -1595,7 +1595,9 @@ if test "$curl_ssl_msg" = "$init_ssl_msg" && test X"$OPT_SSL" != Xno; then CRYPTO_cleanup_all_ex_data \ SSL_get_shutdown \ SSLv2_client_method \ - SSL_CTX_set_next_proto_select_cb ) + SSL_CTX_set_next_proto_select_cb \ + SSL_CTX_set_alpn_protos \ + SSL_CTX_set_alpn_select_cb ) dnl Make an attempt to detect if this is actually yassl's headers and dnl OpenSSL emulation layer. We still leave everything else believing |