From c4a44c68f2137fc550014000aceec25bbbb37411 Mon Sep 17 00:00:00 2001 From: Andrii Dmytrenko Date: Thu, 24 Jan 2019 15:09:50 +0000 Subject: [PATCH] Add a warning regarding openssl --- Readme.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 9a0229b..bfc7e70 100644 --- a/Readme.md +++ b/Readme.md @@ -86,9 +86,18 @@ cargo run --example interactive ## OpenSSL -On MacOS X If you have problems with OpenSSL during complication, regarding missing headers or linkage, try: +## Current TLS implementation using openssl crate 0.7.x is **not secure** and it is advised not to use it +https://rustsec.org/advisories/RUSTSEC-2016-0001.html +If for any reason you still want to use it, add a following feature to your `Cargo.toml`: +```toml +[dependencies] +amqp = { version="0.1.3", features=["tls"] } ``` + +On MacOS X If you have problems with OpenSSL during complication, regarding missing headers or linkage, try: + +```sh brew install openssl export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib