aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/stack.rs
diff options
context:
space:
mode:
authorMarko Lalic <[email protected]>2015-03-18 15:49:25 +0100
committerMarko Lalic <[email protected]>2015-03-23 08:41:15 +0100
commit83c279013bda0495ffd02a45a15c0e529d2c9afd (patch)
tree3db81ee5f040e5c7f66726569eec024adbe38254 /openssl/src/stack.rs
parentopenssl: Add NPN crate feature (diff)
downloadrust-openssl-83c279013bda0495ffd02a45a15c0e529d2c9afd.tar.xz
rust-openssl-83c279013bda0495ffd02a45a15c0e529d2c9afd.zip
openssl: Add method for setting protocols to be used in NPN
A new method `set_npn_protocols` is added to the `SslContext` struct, when the `npn` feature is enabled. The method takes a list of protocols that are supported by the peer. These protocols will be used during Next Protocol Negotiation. The method saves the given list within the extra data of the OpenSSL Context structure, so that the list can be referred to later on by the callbacks invoked during TLS connection establishment.
Diffstat (limited to 'openssl/src/stack.rs')
0 files changed, 0 insertions, 0 deletions