reduce_given_version

Function reduce_given_version 

Source
pub 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.