Function rustls::suites::reduce_given_version
source ยท pub(crate) fn reduce_given_version(
all: &[SupportedCipherSuite],
version: ProtocolVersion,
) -> Vec<SupportedCipherSuite>
Expand description
Return a list of the ciphersuites in all
with the suites
incompatible with the chosen version
removed.