Skip to content

Commit

Permalink
always use 3.0.x for openssl 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Dec 28, 2023
1 parent 948642d commit ad328c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/binaries/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fn parse_openssl_version(v: &str) -> String {
let matches = r.unwrap().captures(v).unwrap();
if matches.len() > 0 {
match matches.get(1).unwrap().as_str() {
"3.1" => "3.0.x".to_string(),
version if version.starts_with("3.") => "3.0.x".to_string(),
version => format!("{version}.x"),
}
} else {
Expand Down

0 comments on commit ad328c5

Please sign in to comment.