Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Fails to build with OpenSSL >= 1.1.1 #57

Closed
madduck opened this issue Dec 7, 2018 · 2 comments
Closed

Fails to build with OpenSSL >= 1.1.1 #57

madduck opened this issue Dec 7, 2018 · 2 comments

Comments

@madduck
Copy link

madduck commented Dec 7, 2018

For reference on why matrix-ircd won't build anymore with OpenSSL 1.1.1 and above: sfackler/rust-openssl#994

@madduck
Copy link
Author

madduck commented Dec 7, 2018

Thanks to eeeeeta on Freenode, the following is a hack to make it work for now:

diff --git a/Cargo.toml b/Cargo.toml
index 4d9ae64..d2f8b2c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -28,7 +28,7 @@ tokio-tls = "0.1.1"
 url = "1.2.1"
 
 [dependencies.openssl]
-version = "0.9.0"
+version = "0.9.24"
 
 [dependencies.tasked-futures]
 git = "https://github.com/erikjohnston/tasked-futures.git"
@@ -44,3 +44,6 @@ trace_logging = [
     "slog/max_level_trace",
     "slog/release_max_level_warn",
 ]
+
+[replace]
+"openssl:0.9.24" = { git = "https://github.com/ishitatsuyuki/rust-openssl", branch = "0.9.x" }

@erikjohnston
Copy link
Member

I've updated the dependencies to remove all deps on openssl v0.9, which I think fixes this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants