diff --git a/src/rust/Cargo.lock b/src/rust/Cargo.lock index a0beb8897552c..9736fb1b48c69 100644 --- a/src/rust/Cargo.lock +++ b/src/rust/Cargo.lock @@ -40,6 +40,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" + [[package]] name = "cc" version = "1.0.83" @@ -162,10 +168,9 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "openssl" version = "0.10.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "729b745ad4a5575dd06a3e1af1414bd330ee561c01b3899eb584baeaa8def17e" +source = "git+https://github.com/sfackler/rust-openssl#03bc8192d28373fdbe4da4f443c2990ff4180ce0" dependencies = [ - "bitflags", + "bitflags 2.4.0", "cfg-if", "foreign-types", "libc", @@ -177,8 +182,7 @@ dependencies = [ [[package]] name = "openssl-macros" version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" +source = "git+https://github.com/sfackler/rust-openssl#03bc8192d28373fdbe4da4f443c2990ff4180ce0" dependencies = [ "proc-macro2", "quote", @@ -188,8 +192,7 @@ dependencies = [ [[package]] name = "openssl-sys" version = "0.9.91" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "866b5f16f90776b9bb8dc1e1802ac6f0513de3a7a7465867bfbc563dc737faac" +source = "git+https://github.com/sfackler/rust-openssl#03bc8192d28373fdbe4da4f443c2990ff4180ce0" dependencies = [ "cc", "libc", @@ -319,7 +322,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index b3038ecd05a61..7dca8d358ff40 100644 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -41,3 +41,7 @@ members = [ "cryptography-x509", "cryptography-x509-validation", ] + +[patch.crates-io] +openssl = { git = "https://github.com/sfackler/rust-openssl" } +openssl-sys = { git = "https://github.com/sfackler/rust-openssl" }