We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1aff280 + 8e6e30b commit f014afbCopy full SHA for f014afb
openssl/src/ssl/mod.rs
@@ -709,7 +709,7 @@ cfg_if! {
709
///
710
/// [`SslContextBuilder::set_alpn_protos`]: struct.SslContextBuilder.html#method.set_alpn_protos
711
#[corresponds(SSL_select_next_proto)]
712
-pub fn select_next_proto<'a>(server: &[u8], client: &'a [u8]) -> Option<&'a [u8]> {
+pub fn select_next_proto<'a>(server: &'a [u8], client: &'a [u8]) -> Option<&'a [u8]> {
713
unsafe {
714
let mut out = ptr::null_mut();
715
let mut outlen = 0;
0 commit comments