Skip to content

Commit

Permalink
Bump OpenSSL to 3.2.1 (#229)
Browse files Browse the repository at this point in the history
Plus some fixes I needed to build this locally
  • Loading branch information
alexcrichton authored Jan 30, 2024
1 parent 47d047a commit add20f7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "openssl-src"
version = "300.2.1+3.2.0"
version = "300.2.2+3.2.1"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/alexcrichton/openssl-src-rs"
edition = "2021"
description = """
Source of OpenSSL and logic to build it.
"""
Expand Down
2 changes: 1 addition & 1 deletion openssl
Submodule openssl updated 201 files
13 changes: 11 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -636,12 +636,21 @@ fn cp_r(src: &Path, dst: &Path) {
}

let dst = dst.join(name);
if f.file_type().unwrap().is_dir() {
let ty = f.file_type().unwrap();
if ty.is_dir() {
fs::create_dir_all(&dst).unwrap();
cp_r(&path, &dst);
} else if ty.is_symlink() {
// not needed to build
if path.iter().any(|p| p == "cloudflare-quiche") {
continue;
}
panic!("can't copy symlink {path:?}");
} else {
let _ = fs::remove_file(&dst);
fs::copy(&path, &dst).unwrap();
if let Err(e) = fs::copy(&path, &dst) {
panic!("failed to copy {path:?} to {dst:?}: {e}");
}
}
}
}
Expand Down

0 comments on commit add20f7

Please sign in to comment.