fn restricted_provider(wanted: &[u16]) -> Result<CryptoProvider, DialError>Expand description
The default provider with its cipher suites narrowed to wanted.
A requested suite the provider does not implement is an error and not a silent omission. Offering fewer suites than asked would make a refusal indistinguishable from a suite that was never on the wire, which turns every negative result into a possible false one — and this field exists only to produce negative results that mean something.