Parse key.generate.cipher-suite case sensitively.

- This matches the parsing of the command line parameter.  Let's
    reduce variance.
This commit is contained in:
Justus Winter 2024-12-04 15:31:07 +01:00
parent 9e2af6a92f
commit ab01bd9557
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386

View File

@ -1038,7 +1038,7 @@ fn apply_key_generate_cipher_suite(config: &mut Option<&mut Config>,
{
let s = item.as_str()
.ok_or_else(|| Error::bad_item_type(path, item, "string"))?;
let v = cli::key::CipherSuite::from_str(s, true)
let v = cli::key::CipherSuite::from_str(s, false)
.map_err(|e| anyhow::anyhow!("{}", e))?;
if let Some(config) = config {