aboutsummaryrefslogtreecommitdiff
path: root/openssl/Cargo.toml
diff options
context:
space:
mode:
authorCody P Schafer <[email protected]>2015-06-24 17:17:43 -0400
committerCody P Schafer <[email protected]>2015-06-29 10:58:45 -0400
commit01e01e3747dd0dbd46486c4f9406c29488a28c19 (patch)
tree8d5fce95ba0ce40e60e8618ee35d91e254568734 /openssl/Cargo.toml
parentssl/NPN: factor out encoding of the protocol list (diff)
downloadrust-openssl-01e01e3747dd0dbd46486c4f9406c29488a28c19.tar.xz
rust-openssl-01e01e3747dd0dbd46486c4f9406c29488a28c19.zip
ssl: support ALPN
Heavily based on the existing NPN wrapping code. Naming of public functions is identical to the NPN ones with `s/npn/alpn/` applied to prevent devs from needing to remember 2 names (and to let my copy the npn tests and perform the subistution to generate the apln tests). It might make sense to (at some point) use macros or a trait to cut down the duplication.
Diffstat (limited to 'openssl/Cargo.toml')
-rw-r--r--openssl/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl/Cargo.toml b/openssl/Cargo.toml
index c2097774..3e3c34de 100644
--- a/openssl/Cargo.toml
+++ b/openssl/Cargo.toml
@@ -17,6 +17,7 @@ dtlsv1_2 = ["openssl-sys/dtlsv1_2"]
sslv2 = ["openssl-sys/sslv2"]
aes_xts = ["openssl-sys/aes_xts"]
npn = ["openssl-sys/npn"]
+alpn = ["openssl-sys/alpn"]
[dependencies.openssl-sys]
path = "../openssl-sys"