From 7fbda616098e3ab489b61735fa27651b34cac67c Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Wed, 27 Dec 2017 16:04:19 -0700 Subject: Overhaul ALPN There was previously a lot of behind the scenes magic. We now bind much more directly to the relevant functions. Also remove APN support. That protocol is supersceded by ALPN - let's see if anyone actually needs to use it. --- openssl-sys/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'openssl-sys/src') diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index eafda590..e855216a 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -2495,6 +2495,7 @@ extern "C" { #[cfg(not(ossl101))] pub fn SSL_set_alpn_protos(s: *mut SSL, data: *const c_uchar, len: c_uint) -> c_int; + // FIXME should take an Option #[cfg(not(ossl101))] pub fn SSL_CTX_set_alpn_select_cb( ssl: *mut SSL_CTX, -- cgit v1.2.3