Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/windows/functional/test_parse_config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@ function test__parse_config_extra_spaces {
if ($result["id"] -ne "test_min") { return 1 }
return 0
}

function test__parse_config_preserve_case{
$result = _parse_config -KeyValues "signing_algorithm=PKCS1v15-SHA224 encryption_algorithm=OAEP-SHA224"
if ($result["signing_algorithm"] -cne "PKCS1v15-SHA224") { return 1 }
if ($result["encryption_algorithm"] -cne "OAEP-SHA224") { return 1 }
return 0
}
4 changes: 2 additions & 2 deletions windows/svtminion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ if ($help) {
}

# This value is populated via CICD during build
$SCRIPT_VERSION = "2025.12.12"
$SCRIPT_VERSION = "SCRIPT_VERSION_REPLACE"
if ($Version) {
Write-Host $SCRIPT_VERSION
exit 0
Expand Down Expand Up @@ -1129,7 +1129,7 @@ function _parse_config {
Write-Log "Found config: $key_value" -Level debug
$key, $value = $key_value -split "="
if ($value) {
$config_options[$key.ToLower()] = $value.ToLower()
$config_options[$key] = $value
} else {
Write-Log "No config value specified: $key_value" -Level warning
}
Expand Down
Loading