Skip to content

Commit

Permalink
Add a warning regarding openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Dmytrenko committed Jan 24, 2019
1 parent bb1fd14 commit c4a44c6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4a44c6

Please sign in to comment.